Skip to content

Instantly share code, notes, and snippets.

@kazuhisya
Last active February 27, 2019 17:55
Show Gist options
  • Save kazuhisya/6315460 to your computer and use it in GitHub Desktop.
Save kazuhisya/6315460 to your computer and use it in GitHub Desktop.
石川さんごめんなさいのおまじない。
#!/usr/bin/env bash
echo "I'm sorry Ishikawa-san."
echo "I'm sorry Ishikawa-san."
echo "I'm sorry Ishikawa-san."
sed --follow-symlinks -i 's;SELINUX=enforcing;SELINUX=disabled;g' /etc/sysconfig/selinux
setenforce 0
@kazuhisya
Copy link
Author

It is must to say repeated three times.
see also: https://twitter.com/ishikawa84g/statuses/291133916931293184

@ishikawa84g
Copy link

/etc/sysconfig/selinux は /etc/selinux/config のシンボリックリンクなので
--follow-symlinks を付けるか、/etc/selinux/config を置換対象にします。

@kazuhisya
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment