Setting Up SELINUX on aws ec2 as well as installing audit2allow
Channel:
Subscribers:
1,220
Published on ● Video Link: https://www.youtube.com/watch?v=9jEYIR9uv7o
[ec2-user@ip-172-31-83-243 ~]$ history
1 sudo vi /etc/sysconfig/selinux
2 sudo touch /.autorelable
3 getenforce
4 sudo setenforce 1
5 getenforce
6 sudo reboot
7 getenforce
8 sudo setenforce 0
9 getenforce
10 sudo setenforce
11 sudo setenforce Enforcing
12 getenforce
13 sudo yum provides audit2allow
14 sudo yum -y install policycoreutils-python
15 audit2allow -a -w | more
16 sudo audit2allow -a -w | more
17 history