10 月 032010
 

原文: 44.2. Administrator Control of SELinux

From the command line, you can edit the /etc/sysconfig/selinux file. This file is a symlink to /etc/selinux/config. The configuration file is self-explanatory. Changing the value of SELINUX or SELINUXTYPE changes the state of SELinux and the name of the policy to be used the next time the system boots.

最近遇到幾次改 /etc/sysconfig/selinux 無效的狀況,此時就要改用 /etc/selinux/config 來設定。