Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS Docs (http://www.linux-archive.org/centos-docs/)
-   -   edit proposal to /HowTos/SELinux - how to relabel filesystem (http://www.linux-archive.org/centos-docs/617081-edit-proposal-howtos-selinux-how-relabel-filesystem.html)

Bennett Haselton 01-04-2012 04:41 PM

edit proposal to /HowTos/SELinux - how to relabel filesystem
 
Following the steps under "Contribute to the Wiki" at
http://wiki.centos.org/Contribute#head-42b3d8e26400a106851a61aebe5c2cca54dd79e5

My Wiki name is BennettHaselton. I wanted to edit this paragraph:

"Note: When switching from Disabled to either Permissive or Enforcing
mode, it is highly recommended that the system be rebooted and the
filesystem relabeled."

to add:

"This can be accomplished with the commands
touch /.autorelabel
reboot
If the file /.autorelabel exists at boot time, SELinux performs a
filesystem relabel and then deletes /.autorelabel "

Since the current page says to relabel the filesystem but doesn't say
how to do it; the instructions are easy to find elsewhere on the web,
but might as well put it on that page too.

Bennett
_______________________________________________
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


All times are GMT. The time now is 01:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.