2010年8月23日 星期一

Disable Apache SeLinux protection

http://www.cyberciti.biz/faq/howto-disable-httpd-selinux-security-protection/
http://nixcraft.com/networking-firewalls-security/13433-explain-selinux-setsebool-getsebool-commands.html

The setsebool is used to set SELinux boolean value i.e. various configurtions can be enabled or disabled using this tool. In other words, the setsebool command switches on and off the protection of Selinux. Type getsebool -a to see all such options which can be enabled or disabled at run time:

Code:
getsebool -aFor example, if httpd_disable_trans set to 1, it will disable SELinux protection for Apache web server.

To disable it, enter Code:
setsebool httpd_disable_trans 1

To enable it, enter Code:
setsebool httpd_disable_trans 0

沒有留言:

張貼留言