1 00:00:06,580 --> 00:00:10,599 All right, so what are the commands that we have seen? Firewall CMD 2 00:00:10,599 --> 00:00:14,619 for firewall management on Red Hat and UFW for the firewall on Ubuntu. 3 00:00:15,339 --> 00:00:22,329 Getenforce is showing the current selinux mode on an selinux system and setenforce allows you to change it. 4 00:00:23,030 --> 00:00:28,870 Selert is what you want to run to figure out what Selinux has been blocking and get 5 00:00:28,870 --> 00:00:34,710 a hint on how to restore it and scmanage and restorecon what you do to change it. 6 00:00:35,950 --> 00:00:41,375 Then we have AA status, which is giving information about the current apparmor status, and apparmor 7 00:00:41,375 --> 00:00:46,799 parser, which is an easy to use interface that allows you to manage app armor. 8 00:00:47,409 --> 00:00:52,334 AAComplain will put it in complaining mode and that allows you to generate your 9 00:00:52,334 --> 00:00:57,259 profile and aanforce will make sure that apparmor is fully up and armored.