Manage SELinux Security Flashcards
1
Q
What is getenforce command used for?
A
To manage the SELinux mode of a system.
2
Q
What is setenforce command used for?
A
To manage the SELinux mode of a system.
3
Q
What does the semanage command do?
A
Manages SELinux policy rules.
4
Q
What does the restorecon command do?
A
Applies the context that the policy defines.
5
Q
What are Booleans?
A
Switches that change the behavior of the SELinux policy. You can enable or disable them to tune the policy.
6
Q
What is sealert command used for?
A
Displays useful information to help with SELinux troubleshooting.