Created
February 22, 2018 19:56
-
-
Save simbalinux/ec3f646886b599ced61a5c7bcefe5577 to your computer and use it in GitHub Desktop.
disabling selinux before and after reboot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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