Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 199 Bytes

04_SELinux.md

File metadata and controls

14 lines (14 loc) · 199 Bytes

设置 SELinux

  • 查看状态
getenforce
  • 临时关闭
setenforce 0
  • 永久关闭
sed -e 's|^SELINUX=enforcing|SELINUX=disabled|g' -i.bak /etc/selinux/config