nerdexam
CompTIA

XK0-006 · Question #130

Users are having issues running applications. A systems administrator thinks it is an SELinux issue. Which of the following commands should the administrator use to determine whether SELinux is…

The correct answer is A. getenforce. This command reports the current SELinux mode, allowing the administrator to quickly determine whether SELinux is enabled and enforcing, permissive, or disabled.

Security

Question

Users are having issues running applications. A systems administrator thinks it is an SELinux issue. Which of the following commands should the administrator use to determine whether SELinux is enabled on the system?

Options

  • Agetenforce
  • Bls -lZ /
  • Csemanage -l
  • Dgetsebool -l

How the community answered

(45 responses)
  • A
    87% (39)
  • B
    2% (1)
  • C
    9% (4)
  • D
    2% (1)

Explanation

This command reports the current SELinux mode, allowing the administrator to quickly determine whether SELinux is enabled and enforcing, permissive, or disabled.

Topics

#SELinux#getenforce#security enforcement#access control

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice