<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									What is SELinux - RHEL OS				            </title>
            <link>https://www.hacktheforum.com/rhel-os/what-is-selinux/</link>
            <description>Hack The Forum Discussion Board</description>
            <language>en</language>
            <lastBuildDate>Sun, 31 May 2026 10:46:52 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>What is SELinux</title>
                        <link>https://www.hacktheforum.com/rhel-os/what-is-selinux/#post-19897</link>
                        <pubDate>Sun, 19 Oct 2025 12:03:20 +0000</pubDate>
                        <description><![CDATA[SELinux stands for Security-Enhanced Linux. It’s a Linux kernel security module that provides a mandatory access control (MAC) system, which enforces fine-grained security policies to restri...]]></description>
                        <content:encoded><![CDATA[<p data-start="50" data-end="346"><strong data-start="50" data-end="61">SELinux</strong> stands for <strong data-start="73" data-end="100">Security-Enhanced Linux</strong>. It’s a <strong data-start="109" data-end="141">Linux kernel security module</strong> that provides a <strong data-start="158" data-end="192">mandatory access control (MAC)</strong> system, which enforces fine-grained security policies to restrict how processes and users can access files, ports, and other resources on a Linux system.</p>
<p data-start="50" data-end="346"> </p>
<ul>
<li data-start="371" data-end="526">
<p data-start="373" data-end="526">Traditional Linux permissions (owner/group/others) are <strong data-start="428" data-end="466">discretionary access control (DAC)</strong>, meaning users/processes can change permissions themselves.</p>
</li>
<li data-start="527" data-end="700">
<p data-start="529" data-end="700">SELinux adds an <strong data-start="545" data-end="572">extra layer of security</strong> that <strong data-start="578" data-end="619">cannot be bypassed by users/processes</strong>, enforcing strict policies defined by the system administrator or security team.</p>
</li>
<li data-start="701" data-end="821">
<p data-start="703" data-end="821">Helps <strong data-start="709" data-end="742">contain compromised processes</strong> and reduce the impact of vulnerabilities by limiting what each process can do.</p>
</li>
</ul>
<h3 data-start="1132" data-end="1149">SELinux Modes</h3>
<div class="_tableContainer_1rjym_1">
<div class="group _tableWrapper_1rjym_13 flex w-fit flex-col-reverse">
<table class="w-fit min-w-(--thread-content-width)" data-start="1151" data-end="1631">
<thead data-start="1151" data-end="1234">
<tr data-start="1151" data-end="1234">
<th data-start="1151" data-end="1163" data-col-size="sm">Mode</th>
<th data-start="1163" data-end="1200" data-col-size="md">Description</th>
<th data-start="1200" data-end="1234" data-col-size="md">Use Case</th>
</tr>
</thead>
<tbody data-start="1317" data-end="1631">
<tr data-start="1317" data-end="1433">
<td data-start="1317" data-end="1333" data-col-size="sm"><strong data-start="1319" data-end="1332">Enforcing</strong></td>
<td data-start="1333" data-end="1386" data-col-size="md">Enforces the policy and denies unauthorized access</td>
<td data-start="1386" data-end="1433" data-col-size="md">Production environments for strong security</td>
</tr>
<tr data-start="1434" data-end="1542">
<td data-start="1434" data-end="1451" data-col-size="sm"><strong data-start="1436" data-end="1450">Permissive</strong></td>
<td data-start="1451" data-end="1500" data-col-size="md">Logs policy violations but does not block them</td>
<td data-start="1500" data-end="1542" data-col-size="md">Troubleshooting and policy development</td>
</tr>
<tr data-start="1543" data-end="1631">
<td data-start="1543" data-end="1558" data-col-size="sm"><strong data-start="1545" data-end="1557">Disabled</strong></td>
<td data-start="1558" data-end="1582" data-col-size="md">SELinux is turned off</td>
<td data-start="1582" data-end="1631" data-col-size="md">Rarely recommended, disables SELinux entirely</td>
</tr>
</tbody>
</table>
</div>
<h3 data-start="1638" data-end="1660">SELinux Components</h3>
<ul data-start="1662" data-end="2035">
<li data-start="1662" data-end="1757">
<p data-start="1664" data-end="1757"><strong data-start="1664" data-end="1674">Policy</strong>: Defines rules for what is allowed (e.g., which processes can access which files).</p>
</li>
<li data-start="1758" data-end="1828">
<p data-start="1760" data-end="1828"><strong data-start="1760" data-end="1778">Types/Contexts</strong>: Labels assigned to files, processes, ports, etc.</p>
</li>
<li data-start="1829" data-end="1944">
<p data-start="1831" data-end="1944"><strong data-start="1831" data-end="1850">Targeted Policy</strong>: The default policy in RHEL and OpenShift that confines specific system daemons and services.</p>
</li>
<li data-start="1945" data-end="2035">
<p data-start="1947" data-end="2035"><strong data-start="1947" data-end="1959">Booleans</strong>: Toggle parts of SELinux policy on/off without reloading the entire policy.</p>
</li>
</ul>
<p> </p>
</div>]]></content:encoded>
						                            <category domain="https://www.hacktheforum.com/rhel-os/">RHEL OS</category>                        <dc:creator>paul0000</dc:creator>
                        <guid isPermaLink="true">https://www.hacktheforum.com/rhel-os/what-is-selinux/#post-19897</guid>
                    </item>
							        </channel>
        </rss>
		