Created
August 29, 2012 06:53
-
-
Save ishikawa84g/3507651 to your computer and use it in GitHub Desktop.
SELinux を無効に設定し、カレント状態を Permissive にする。OS を再起動すると完全無効化される。
This file contains 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
#!/bin/bash | |
sestatus ; echo | |
sed -i "s/\(^SELINUX=\).*/\1disabled/" /etc/selinux/config | |
setenforce 0 | |
sestatus | |
# shutdown -r 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment