Wednesday, May 22, 2013

SELUNIX on Fedora and Redhat linux versions

Fedora Core 3 and Red Hat Enterprise Linux 4 introduced SELinux (Security Enhanced Linux) security policies and context labels.
To view the security context labels applied to your web page files use the command: ls -Z

The system enables/disables SELinux policies in the file /etc/selinux/config
SELinux can be turned off by setting the directive SELINUX. (Then reboot the system):

    SELINUX=disabled

or using the command setenforce 0 to temporarily disable SELinux until the next reboot.

No comments:

Post a Comment