Disable SELINUX

Buka file /etc/selinux/config
vi /etc/selinux/config

Berikut adalah isi file tersebut:
# 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=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

yang perlu anda ubah adalah:
SELINUX=disabled

Kemudian ketik :wq untuk menyimpannya, kemudian reboot.

Untuk mendisable selinux secara realtime, cukup ketikkan pada shell:
setenforce 0
dan  untuk mengembalikannya cukup mengganti 0 dengan 1.

Last edited: 15 December 2007

 

One Response to “Disable SELINUX”

  1. Alexwebmaster on 03 March 2009 18:15:24

    Hello webmaster
    I would like to share with you a link to your site
    write me here preonrelt@mail.ru

Leave a Reply