27th Feb, 2008

停用 selinux

selinux, 有好有唔好, 但係 virtual machine 入面 run test, 簡單d 好。要 disable 就係

/etc/selinux/config:


# 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 - No SELinux policy is loaded.SELINUX=enforcing# SELINUXTYPE= can take one of these two values:# targeted - Only targeted network daemons are protected.# strict - Full SELinux protection.SELINUXTYPE=targeted
SELINUX=enforcing 或者 SELINUX=permissive 改成 SELINUX=disabled
如果冇咁既file, 就係 /boot/grub/grub.conf 入面既 kernel 度加 selinux=0 依個參數

相關文章

你的回應






Your response: