Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Disable :

No Format
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config && reboot 

Check:

No Format
[root@localhost]# sestatus
SELinux status:                 disabled

Issues:

If you used the following config file (/etc/sysconfig/selinux) to change the status, like you should, and it doesn't work, it means that the main file didn't get changed. The file most people say to edit is really a symlink to this file /etc/selinux/config