Security Operations
An administrator is testing a new SELinux policy on a Linux server. Violations must be logged, but the application must not be blocked. Which mode should be set?
Show the answer
Correct answerB. Permissive
AWhy not this: Disabled turns SELinux off entirely, so nothing is logged or evaluated.
BWhy this is right: Permissive mode records would-be denials in the logs while still allowing the actions, which suits policy testing.
CWhy not this: Enforcing mode actively blocks policy violations, so the application would be interrupted.
DWhy not this: Targeted is a policy type that confines selected processes. It is not an operating mode.
Permissive mode logs actions that the policy would deny without blocking them, which makes it suited to testing a policy. Enforcing mode blocks the violations, so it would interrupt the application during testing.