Created
July 25, 2017 00:25
-
-
Save csegura2011/26f135d50eb134d98e6e219e6b298865 to your computer and use it in GitHub Desktop.
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
# be sure sed stream editor is installed in the system | |
$ yum install -y sed | |
# using sed you can edit the line containing in /etc/sysconfig/selinux file | |
$ sed -i ‘s/\(^SELINUX=\).*/\SELINUX=disabled/’ /etc/sysconfig/selinux | |
$ sed -i ‘s/\(^SELINUX=\).*/\SELINUX=disabled/’ /etc/selinux/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment