Re: CentOS 7 selinux

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



On May 9, 2017, at 12:14 PM, Larry Martell <larry.martell@xxxxxxxxx> wrote:
> 
> If I make a change to /etc/sysconfig/selinux do I have to restart anything
> for the change to take effect?

Isn’t the correct answer “yes” for every single file under that directory?

If it were otherwise, you’d have services continually restarting to look for updated settings.  Then because of all the resulting inadvertent lock-outs and other failures, you’d have big block comments at the top of those files telling you not to save the file until you’re sure you want those settings applied immediately.

If you’re trying to entirely disable SELinux with this change, you’ll have to reboot. If you’re changing between enforcing and permissive, there are commands for that:

    https://unix.stackexchange.com/questions/148890/how-to-disable-selinux-without-restart
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux