WEL COME...Tamilnet Live...தமிழ்நெட் லைவ் ..வருக வருக ...

Select Your Language

How to enable or disable SElinux - Linux

SELinux is a security enhancement to Linux which allows users and administrators more control over access control


If you are having issues booting up and would like to boot your system with SELinux in permissive mode you can edit the /etc/selinux/config file and change the SELINUX variable to permissive (this will not set the current running mode of SELinux).

To disable SELinux altogether you can change the SELINUX variable in /etc/selinux/config to DISABLED and reboot.
Make sure you have the system fully updated - there have been many corrections to SELinux policy.

If you want to allow operations that SELinux would prohibit, issue the following command as root:

setenforce 0

To re-enable SELinux, use:

setenforce 1

Remember that by disabling SELinux, you are also disabling considerable security for the system.
====================================================================================================

No comments: