Download nhạc từ các trang nhạc lớn của Việt Nam

09 Tháng Tám 2008
@ 09:43
(Tác giả:Phạm Đức Hải)
http://www.revsys.com/writings/quicktips/turn-off-selinux.html

SELinux is a set of extra security restrictions on top of the normal Linux security tools. It gives the systems administrator a finer grain of control than what the kernel typically provides.

But SELinux can sometimes get in your way. For example, I have had typical services, such as Apache, appear to start up correctly, but remain inaccessible from the outside world because I forgot to allow the apache user rights to open that port or maybe my distro forgot about it. Before you turn off SELinux make sure you know why you are turning it off and the security concerns you might be opening yourself up to.

Turning off SELinux temporarily

Disabling SELinux temporarily is the easiest way to determine if the problem you are experiencing is related to your SELinux settings. To turn it off, you will need to become the root users on your system and execute the following command:

echo 0 > /selinux/enforce

This temporarily turns off SELinux until it is either re-enabled or the system is rebooted. To turn it back on you simply execute this command:

echo 1 > /selinux/enforce

As you can see from these commands what you are doing is setting the file /selinux/enforce to either '1' or '0' to denote 'true' and 'false'.

Configuring SELinux to log warnings instead of block

You can also configure SELinux to give you a warning message instead of actually prohibiting the action. This known as permissive mode. To change SELinux's behavior to permissive mode you need to edit the configuration file. On Fedora and RHEL systems that file is located at /etc/selinux/config. You need to change the SELINUXoption to permissive like so:

SELINUX=permissive

Note that these changes will not take effect until the system is rebooted, which is why the first section comes in handy on a system you either cannot or do not want to reboot right now.

Completely turning off SELinux

To completely disable SELinux instead of setting the configuration file to permissive mode you set it to disabled like:

SELINUX=disabled

You will need to reboot your system or temporarily set SELinux to non-enforcing mode to create the desired effect like the example above


Chuyên mục: Linux

Referred by:
http://emusicnote.net/ [Referral]
http://musicanalysissite.net/ [Referral]
docbaotructuyen (www.google.com) [Referral]
docbao.com.vn (www.google.com) [Referral]
SELINUX (www.google.com.vn) [Referral]
selinux file (www.google.com.vn) [Referral]
SELinux (www.google.com.vn) [Referral]
xem phim sec (cc.msnscache.com) [Referral]
selinux (www.google.com.vn) [Referral]
slackware disable selinux (www.google.com.vn) [Referral]
SElinux (www.google.com.vn) [Referral]
WWWPHIM SEC VN COM (search.msn.com) [Referral]
Xem Phim SEC (search.live.com) [Referral]
selinux (www.google.com.vn) [Referral]
www.docbaotructuyen (search.live.com) [Referral]
SELinux (www.google.com.vn) [Referral]
changes to this setting will not takes effect (www.google.com.vn) [Referral]
Xem Phim SEC (search.live.com) [Referral]
Google.COM PHIM SEC (search.msn.com) [Referral]
Xem Phim SEC (search.msn.com) [Referral]
wwwphim ma .com (cnweb.search.live.com) [Referral]
phimsec (www.google.com.vn) [Referral]
phim sec com vn (search.msn.com) [Referral]
Xem Phim Sec (search.live.com) [Referral]
Xem Phim Sec (search.msn.com) [Referral]
nguon phim .sec (www.google.com.vn) [Referral]
xemphimsec (search.msn.com) [Referral]
séc vn.com (search.live.com) [Referral]
Xem Phim SEC (search.msn.com) [Referral]
turn off SElinux message (www.google.com.vn) [Referral]
service selinux (www.google.com.vn) [Referral]
cách dùng selinux (www.google.com.vn) [Referral]
Xem Phim SEC (search.msn.com) [Referral]
phimsec (vn.search.yahoo.com) [Referral]

Họ tên
E-mail
(sẽ hiển thị gravatar theo email của bạn)
Trang chủ
Bộ gõ Tắt TELEX VNI
Ý kiến (Không dùng HTML)  

Nhập mã kiểm tra :(chống xì-pum ý mà):