« The Voodoo King | Main | Graphical RPM Package Management »

May 19, 2005

SELinux relabeling files

Under Red Hat Enterprise Linux 4 or Fedora Core 3 when SELinux is disabled all files that are created do not contain any security information. When SELinux is enabled, these files which are missing the "security information" or security context will not function correctly. One method to quickly relabel all files based on default contexts is to use the touch /.autorelabel command. This creates an empty file that will be used by the rc.sysinit script to relabel all files when the system is rebooted.

Posted by christec at May 19, 2005 11:21 AM

Comments

Post a comment




Remember Me?