Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
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
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 10:33 PM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.