search by tags

for the user

adventures into the land of the command line

disabling selinux

its probably better to learn how to use selinux properly, but if you want to just switch it off

$ sudo vim /etc/selinux/config

# 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 - No SELinux policy is loaded.
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection. SELINUXTYPE=targeted

the host needs to be restarted for it to take effect

$ init 6