Selinux Command

echo 0 > /selinux/enforce

Disable selinux temporarily

echo 1 > /selinux/enforce

Enable selinux temporarily

vi /etc/selinux/config

# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.

SELINUX=enforcing

Enable/Permissive/Disable selinux permanently after REBOOT



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.