I'm not sure if I remember when I installed red hat 5 on my server. So how I can be sure whether selinux is disabled or not?
|
Simply try
Note: |
||||
|
See Administrator Control of SELinux in the SELinux manual:
will display 0 if SELinux is enabled and -256 if it is disabled. |
|||||||||||
|
|
The standard interactive tool on RHEL is getenforce. It outputs a message telling the user which mode SELinux is in: enforcing, permissive or disabled. |
|||
|
|
|
In redhat systems, you could edit: /etc/selinux/config and set: SELINUX=disabled Reboot and you are golden. |
|||
|
|