Difference between revisions of "SE Linux Troubleshooting"
Jump to navigation
Jump to search
↑ http://www.serverlab.ca/tutorials/linux/administration-linux/troubleshooting-selinux-centos-red-hat/
↑ http://www.chrisumbel.com/article/selinux_amazon_aws_ec2_ami_linux
Michael.mast (talk | contribs) (Created page with "<ref>http://www.serverlab.ca/tutorials/linux/administration-linux/troubleshooting-selinux-centos-red-hat/</ref> <pre> yum install setroubleshoot setools sealert -a /var/log/au...") |
Michael.mast (talk | contribs) |
||
Line 4: | Line 4: | ||
sealert -a /var/log/audit/audit.log | sealert -a /var/log/audit/audit.log | ||
</pre> | </pre> | ||
+ | ==Configure SELinux on Amazon Linux AMI== | ||
+ | <ref>http://www.chrisumbel.com/article/selinux_amazon_aws_ec2_ami_linux</ref> | ||
+ | *Install packages | ||
+ | <pre> | ||
+ | yum install libselinux libselinux-utils selinux-policy-minimum selinux-policy-mls selinux-policy-targeted policycoreutils | ||
+ | </pre> | ||
+ | *Edit grub boot options | ||
+ | <pre> | ||
+ | Edit /etc/grub.conf and change selinux=0 to selinux=1, then add security=selinux enforcing=1 | ||
+ | |||
+ | </pre> | ||
+ | * |
Revision as of 11:34, 11 December 2017
yum install setroubleshoot setools sealert -a /var/log/audit/audit.log
Configure SELinux on Amazon Linux AMI
- 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