
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://www.selinuxproject.org/w/skins/common/feed.css?63"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>NB PandE - Revision history</title>
		<link>http://www.selinuxproject.org/w/?title=NB_PandE&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.10.4</generator>
		<lastBuildDate>Thu, 23 May 2013 11:28:23 GMT</lastBuildDate>
		<item>
			<title>Jaxelson at 20:48, 13 September 2010</title>
			<link>http://www.selinuxproject.org/w/?title=NB_PandE&amp;diff=1033&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

			&lt;table border='0' width='98%' cellpadding='0' cellspacing='4' style=&quot;background-color: white;&quot;&gt;
			&lt;tr&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' width='50%' align='center' style=&quot;background-color: white;&quot;&gt;Revision as of 20:48, 13 September 2010&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 34:&lt;/strong&gt;&lt;/td&gt;
&lt;td colspan=&quot;2&quot; align=&quot;left&quot;&gt;&lt;strong&gt;Line 34:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;----&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;----&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&amp;lt;references/&amp;gt;&lt;/td&gt;&lt;td&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; font-size: smaller;&quot;&gt;&amp;lt;references/&amp;gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; font-size: smaller;&quot;&gt;[[Category:Notebook]]&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</description>
			<pubDate>Mon, 13 Sep 2010 20:48:42 GMT</pubDate>			<dc:creator>Jaxelson</dc:creator>			<comments>http://www.selinuxproject.org/page/Talk:NB_PandE</comments>		</item>
		<item>
			<title>RichardHaines: New page: = SELinux Permissive and Enforcing Modes = SELinux has three major modes of operation:  : '''Enforcing''' - SELinux is enforcing the loaded policy.   : '''Permissive''' - SELinux has loade...</title>
			<link>http://www.selinuxproject.org/w/?title=NB_PandE&amp;diff=949&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: = SELinux Permissive and Enforcing Modes = SELinux has three major modes of operation:  : '''Enforcing''' - SELinux is enforcing the loaded policy.   : '''Permissive''' - SELinux has loade...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= SELinux Permissive and Enforcing Modes =&lt;br /&gt;
SELinux has three major modes of operation:&lt;br /&gt;
&lt;br /&gt;
: '''Enforcing''' - SELinux is enforcing the loaded policy. &lt;br /&gt;
&lt;br /&gt;
: '''Permissive''' - SELinux has loaded the policy, however it is not enforcing the policy. This is generally used for testing as the audit log will contain the AVC denied messages as defined in the [[NB_AL | Audit Logs]] section. The SELinux utilities such as &amp;lt;tt&amp;gt;audit2allow(1)&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;audit2why(8)&amp;lt;/tt&amp;gt; can then be used to determine the cause and possible resolution by generating the appropriate allow rules.&lt;br /&gt;
&lt;br /&gt;
: '''Disabled''' - The SELinux infrastructure (in the kernel) is not loaded.&lt;br /&gt;
&lt;br /&gt;
These flags are set in the &amp;lt;tt&amp;gt;/etc/selinux/config&amp;lt;/tt&amp;gt; file as described in the [[GlobalConfigurationFiles | Global Configuration Files]] section.&lt;br /&gt;
&lt;br /&gt;
There is another method for running specific domains in permissive mode using the &amp;lt;tt&amp;gt;permissive&amp;lt;/tt&amp;gt; statement. This can be used directly in a user written loadable module or &amp;lt;tt&amp;gt;semanage(8)&amp;lt;/tt&amp;gt; will generate the appropriate module and load it using the following example command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This example will add a new module in &lt;br /&gt;
# /etc/selinux/&amp;lt;policy_name&amp;gt; # /modules/active/modules/permissive_unconfined_t.pp&lt;br /&gt;
# and then reload the policy: &lt;br /&gt;
&lt;br /&gt;
semanage permissive -a unconfined_t&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;sestatus(8)&amp;lt;/tt&amp;gt; command will show the current policy mode in its output as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SELinux status: enabled&lt;br /&gt;
SELinuxfs mount: /selinux&lt;br /&gt;
Current mode: permissive&lt;br /&gt;
Mode from config file: enforcing&lt;br /&gt;
Policy version: 24&lt;br /&gt;
Policy from config file: modular-test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</description>
			<pubDate>Sun, 16 May 2010 14:59:20 GMT</pubDate>			<dc:creator>RichardHaines</dc:creator>			<comments>http://www.selinuxproject.org/page/Talk:NB_PandE</comments>		</item>
	</channel>
</rss>