如何关闭SELinux

修改/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 – SELinux is fully disabled.
SELINUX=enforcing

# SELINUXTYPE= type of policy in use. Possible values are:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.
SELINUXTYPE=targeted

把 SELINUX设定为disable, 下次启动系统后将会停止SElinux。

检查SELinux现时况态

要知到你现在是否使用 SELinux:
# getenforce
Enforcing

您可能感兴趣的文章

  1. fedora 14 apache不能访问 subversion 仓库
  2. fedora 删除旧内核
  3. Fedora 14 安装 NVIDIA 显卡驱
  4. fedora ubuntu 建立多重启动菜单
  5. fedora ssh 访问
  6. fedora 让服务随机启动
  7. fedora 编译安装前的准备
  8. fedora 安装显卡驱动
  9. fedora13 编译安装 mysql no curses/termcap library found
  10. fedora 安装 zlib库
分享到Twitter 分享到新浪微博 分享到开心 分享到QQ空间 分享到人人 分享到鲜果 分享到豆瓣 分享到网易微博 分享到搜狐微博
You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress | Find Wireless Deals at BestInCellPhones.com. | Thanks to iCellPhoneDeals.com Free Cell Phones, Find Highest CD Rates and Incinerador De Grasa Revisión