Saturday, May 9, 2009

Howto Disable SELINUX on CentOS 5.x / RHEL 5.x

1] Change to root user to make changes

$ su -

2] Check the status of SELINUX using following command

# sestatus
SELinux status: enabled

3] To disable SELINUX modify config file

# vi /etc/selinux/config

4] Search for the line 'SELINUX=enforcing' and modify this line as

SELINUX=disabled

5] Now save the file and reboot the system.

6] Once the system is restarted check the status of SELINUX run the command mentioned above in point 2 and now it should show SELINUX status as 'disabled'.

No comments:

Post a Comment