Skip to content

Instantly share code, notes, and snippets.

@manjeshpv
Created January 3, 2018 05:05
Show Gist options
  • Save manjeshpv/da5bb5d6cde77ba634537dc38c30ce09 to your computer and use it in GitHub Desktop.
Save manjeshpv/da5bb5d6cde77ba634537dc38c30ce09 to your computer and use it in GitHub Desktop.
disable-selinux.sh
echo "Changing SELinux Settings"
sed -i 's/enforcing/disabled/g' /etc/selinux/config /etc/selinux/config
echo "Enabling SELinux Disabled config"
sestatus && chmod +x init.sh && ./init.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment