2013-06-11

SeLinux тохируулах



service iptables stop
iptables: Flushing firewall rules:                       [OK]
iptables: Setting chains to policy ACCEPT: filter        [OK]
iptables: Unloading iptables modules:                    [OK]
chkconfig iptables off
chkconfig ip6tables off
nano /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#enforcing - SELinux security policy is enforced.
#permissive - SELinux prints warnings instead of enforcing.
#disabled - SELinux is fully disabled.
SELINUX=permissive                # өөрчлөх
# SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.
#strict - Full SELinux protection.
SELINUXTYPE=targeted