[CentOS] CentOS 7 selinux

Larry Martell larry.martell at gmail.com
Wed May 10 18:27:00 UTC 2017


On Wed, May 10, 2017 at 9:30 AM, Peter Eckel <lists at eckel-edv.de> wrote:

> Hi Larry,
>
> > If I make a change to /etc/sysconfig/selinux do I have to restart
> anything
> > for the change to take effect?
>
> It depends.
>
> If you are changing the SELinux mode from 'enforcing' to 'permissive' and
> vice versa, you can make that change active in the running system by
> issuing the 'setenforce 1' or 'setenforce 0' command, respectively.
>
> If you want to go to or from 'disabled' or change the SELinux policy
> you'll need to reboot to activate the change.
>

Thanks!



More information about the CentOS mailing list