Skip to content

Instantly share code, notes, and snippets.

@simbalinux
Created February 22, 2018 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simbalinux/ec3f646886b599ced61a5c7bcefe5577 to your computer and use it in GitHub Desktop.
Save simbalinux/ec3f646886b599ced61a5c7bcefe5577 to your computer and use it in GitHub Desktop.
disabling selinux before and after reboot
#disable selinux on next reboot
sed -i 's/enforcing/disabled/g' /etc/selinux/config /etc/selinux/config
sestatus
#put in permissive mode
setenforce 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment