SE Linux Troubleshooting

From Michael's Information Zone
Revision as of 11:34, 11 December 2017 by Michael.mast (talk | contribs)
Jump to navigation Jump to search

[1]

yum install setroubleshoot setools
sealert -a /var/log/audit/audit.log

Configure SELinux on Amazon Linux AMI

[2]

  • Install packages
yum install libselinux libselinux-utils selinux-policy-minimum selinux-policy-mls selinux-policy-targeted policycoreutils 
  • Edit grub boot options
Edit /etc/grub.conf and change selinux=0 to selinux=1, then add security=selinux enforcing=1

  • http://www.serverlab.ca/tutorials/linux/administration-linux/troubleshooting-selinux-centos-red-hat/
  • http://www.chrisumbel.com/article/selinux_amazon_aws_ec2_ami_linux