关闭linux的SElinux不重启linux的方法
Aug
28
关闭linux的SElinux不重启linux的方法
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


















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.