CompTIA
LX0-102 · Question #393
An SELinux security context is required to ensure that all files in /opt have the default context of system_u:object_r:usr_t. How should the corresponding configuration entry be formatted?
The correct answer is B. /opt/.* system_u:object_r:usr_t. See the full explanation below for the reasoning.
Question
An SELinux security context is required to ensure that all files in /opt have the default context of system_u:object_r:usr_t. How should the corresponding configuration entry be formatted?
Options
- Asystem_u:object_r:usr_t /opt/*
- B/opt/.* system_u:object_r:usr_t
- C/opt/* system_u:object_r:usr_t
- Dsystem_u:object_r:usr_t: /opt/.*
- Esystem_u:object_r:usr_t /opt/.*
How the community answered
(47 responses)- A2% (1)
- B83% (39)
- C9% (4)
- D4% (2)
- E2% (1)
Community Discussion
No community discussion yet for this question.