Fedora关闭SELINUX、iptables
2012-03-22 10:53
141 查看
Fedora16环境,我在iscsi target配置好后,需要重启 #/etc/init.d/tgtd restart,但是提示selinux阻碍了它。于是要关闭SELINUX。
关闭SELINUX:
修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。
如果不想重启系统,使用命令#setenforce 0;
关闭iptables:
#service iptables stop(临时关闭。下次重启系统就不管用了)
#chkconfig iptables off.(永久管用)
另外,直接#setup里设置iptables也永久管用。
关闭SELINUX:
修改/etc/selinux/config文件中的SELINUX="" 为 disabled ,然后重启。
如果不想重启系统,使用命令#setenforce 0;
关闭iptables:
#service iptables stop(临时关闭。下次重启系统就不管用了)
#chkconfig iptables off.(永久管用)
另外,直接#setup里设置iptables也永久管用。
相关文章推荐
- fedora 关闭、禁止selinux
- CentOS 7.0关闭默认防火墙启用iptables防火墙及关闭selinux
- Fedora下查看SeLinux状态及关闭SeLinux
- Linux关闭iptables以及selinux
- (转)关闭iptables和SELinux
- 关闭Linux防火墙(iptables) 及 SELinux
- Fedora关闭SELinux正确的方法
- 关闭selinux和iptables
- SELinux 和 iptables 开启关闭
- Linux使用脚本关闭iptables和SELinux.
- 关闭iptables和SELINUX
- centos7 关闭firewall安装iptables并配置,关闭SELINUX
- linux 关闭selinux安全验证和iptables
- selinux 和iptables关闭
- 关闭SElinux和iptables的方法
- CentOS 6.5系统中如何关闭seLinux和iptables防火墙
- centos6.5关闭selinux、iptables、ipv6
- Fedora关闭/禁用SELinux
- 关闭iptables和SELinux
- 一键关闭iptables与selinux