Open main menu

Changes

716 bytes added ,  12:37, 2 April 2014
no edit summary
see * http://fedoraproject.org/wiki/SELinux* http://www.nsa.gov/research/selinux/  == Turning Off SELinux ==Temporarily turn off SELinux<source lang="bash">echo 0 > /selinux/enforce</source>The file itself will be empty, but you'll see something in <code>/var/log/messages</code><pre>dbus: avc: received setenforce notice (enforcing=0)</pre> Of course you can also turn it back on with "1" instead of "0". This temporary change will not persist through a system reboot. You need to modify <code>/etc/selinux/config</code> to make permanent changes. Annoyingly, if you check to see if selinux is enabled, it reports "enabled" even when it's temporarily disabled!? <source lang="bash">selinuxenabled && echo enabled || echo disabled</source>
[[Category:System Administration]]
[[Category:Security]]
4,558

edits