Ðề tài: Firewall va Selinux!
View Single Post
Tuổi 02-10-2009, 09:55 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Firewall va Selinux!
Firewall va Selinux

Firewall (Iptable) và Selinux là 2 công cụ bảo mật được tích hợp sẳn vào Linux

đôi khi 2 công cụ này củng gây chúc phiền tói cho bạn và nếu Firewall đã được

mở trên Router thì chúng ta nên tắt 2 công cụ này đi:

1. Tắt Firewall IPTABLE

Trích dẫn:

[root@ns ~]#/etc/rc.d/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@ns ~]#chkconfig iptables off
[root@ns ~]#chkconfig ip6tables off




2. Tắt SElinux (Security-Enhanced Linux)


Trích dẫn:

[root@ns ~]#vi /etc/sysconfig/selinux


# 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=disabled // change
# SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.

#strict - Full SELinux protection.

SELINUXTYPE=targeted
Chúc các bạn thành công



  Trả lời ngay kèm theo trích dẫn này