How To Check Verify SELinux Security Enhanced Linux Enabled Disabled

Mobile
feeds
Welcome Login | Register

How To Check Verify SELinux Security Enhanced Linux Enabled Disabled
  Forums Index
      » Linux Forums
        » » how to check verify SELinux Security Enhanced Linux Enabled Disabled



How To Check Verify SELinux Security Enhanced Linux Enabled Disabled
Post Description:
Post Tags: how, to, check, verify, selinux, security, enhanced, linux, enabled, disabled, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 358 Times Since Sun Jun 24, 2007 5:41 pm Posted By hostman with 0 replies
How To Check Verify SELinux Security Enhanced Linux Enabled Disabled
today i learned how to confirm is selinux which comes with fedora red hat linux, i learned how to confirm and check if its disable or enable. all you have to do is send this command in the linux shell to see if it its not or if it is anabled.

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/




Leave Your Comments






Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About How To Check Verify SELinux Security Enhanced Linux Enabled Disabled




(0) Comments