Re: turn off SElinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jim lawrence wrote:
I need to turn off SElinux for a test Can i do this without a reboot ?
if so , How?

No, you can't completely turn it off. The only way to completely turn it off is reboot. However, you can switch it to permissive mode. In that mode, it will only log violations, but will not block access to resources. If you are testing, this might be better than turning it completely off (since you'd get logged why something doesn't work in enforcing mode). To switch to permissive mode, execute "setenforce 0". To switch back to enforcing mode, execute "setenforce 1". The SELinux will try hard not to clubber your log files when in permissive mode (it will try to log each type of violation only once).


--
Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux