SoftLayer Technologies (tm)
Divider Forums Divider Portal Divider SPacer Divider About Divider KnowledgeLayer Divider InnerLayer
 
Knowledgebase Home | Favorites Knowledgebase Home | Favorites
Search the Knowledgebase Browse by Category
How do I turn on SELINUX in Redhat or CentOS?
Run the following command to check if SELinux is running:
# getenforce

You can effectively enable it by running the following commands, including the reboot.

# genhomedircon
# touch /.autorelabel
# reboot
# setenforce Enforcing

This will put selinux in a enforcing mode until the machine is rebooted. If you would like to permanently alter the attributes of selinux, view the SELINUX= line in /etc/sysconfig/selinux.
Related Articles
Attachments
No attachments were found.
Home | Dedicated | Cloud | Solutions | Services | Facilities | Reseller | Resources | News | About | Specials | Contact | Legal
©2008 SoftLayer Technologies, Inc.