关闭linux的SElinux不重启linux的方法

关闭linux的SElinux不重启linux的方法

Filed under: Linux/Unix |  

Redhat系统,修改/etc/sysconfig/selinux文件:
#SELINUX=enforcing
SELINUX=disabled

重启生效,如果不想重启,用命令
[root@mail topic]# setenforce
usage: setenforce [ Enforcing | Permissive | 1 | 0 ]

[root@mail topic]# setenforce 0
setenforce: SELinux is disabled

查看Selinux状态:
[root@mail topic]# getenforce
Disabled


Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

If you want to leave a feedback to this post or to some other user´s comment, simply fill out the form below.

(required)

(required)