Wednesday, 9 September 2020
Disable SELinux Permanently
Disable SELinux Permanently
To permanently disable SELinux, use your favorite text editor to open the file /etc/sysconfig/selinux as follows:
# vi /etc/sysconfig/selinux
SELinux Enforcing Mode
SELinux Enforcing Mode
Then change the directive SELinux=enforcing to SELinux=disabled as shown in the below image.
SELINUX=disabled
Disable SELinux Permanently
Disable SELinux Permanently
Then, save and exit the file, for the changes to take effect, you need to reboot your system and then check the status of SELinux using sestatus command as shown:
$ sestatus
Check SELinux Status
Check SELinux Status
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment