how to check verify SELinux Security Enhanced Linux Enabled Disabled
RegisterLogin
how to check verify SELinux Security Enhanced Linux Enabled Disabled
Post Description: how to check verify SELinux Security Enhanced Linux Enabled Disabled
Tags: how, to, check, verify, SELinux, Security, Enhanced, Linux, Enabled, Disabled
This Post Was Posted On Feb 29, 2008 By web hosting #2144
Post Description: how to check verify SELinux Security Enhanced Linux Enabled Disabled
Tags: how, to, check, verify, SELinux, Security, Enhanced, Linux, Enabled, Disabled
This Post Was Posted On Feb 29, 2008 By web hosting #2144
how to check verify SELinux Security Enhanced Linux Enabled Disabled by web hosting
See if SELinux is in Enforcing mode
LINUX SHELL COMMAND:
getenforce
Fedora ships with SELinux (Security Enhanced Linux) installed and in Enforcing mode by default. This can result in "Internal Server Error" messages when you attempt to access some CGIs scripts.
Put SELinux into Permissive mode.
LINUX SHELL COMMAND:
setenforce 0
To make this change permanent, you'll have to modify the settings in /etc/selinux/config and reboot.
Instead of disabling SELinux or setting it to permissive mode, you can use the following command to run the CGIs under SELinux enforcing/targeted mode:
LINUX SHELL COMMAND:
chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Fri Dec 21, 2012 1:47 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3