Skip to content

Instantly share code, notes, and snippets.

@netmarkjp
Created May 15, 2014 09:40
Show Gist options
  • Save netmarkjp/8dd4df67e046827c9af7 to your computer and use it in GitHub Desktop.
Save netmarkjp/8dd4df67e046827c9af7 to your computer and use it in GitHub Desktop.
SELinuxの設定って /etc/sysconfig/selinux 優先なんだっけ…@amazon Linux
[root@wweb ~]# cat /etc/*release
Amazon Linux AMI release 2014.03
[root@web ~]# grep ^SE /etc/selinux/config /etc/sysconfig/selinux
/etc/selinux/config:SELINUX=enforcing
/etc/selinux/config:SELINUXTYPE=targeted
/etc/sysconfig/selinux:SELINUX=disabled
/etc/sysconfig/selinux:SELINUXTYPE=targeted
[root@web ~]# getenforce
Disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment