nerdexam
CompTIA

XK0-005 · Question #1759

An administrator wants to reorganize the /etc/sudoers configuration file by department groups. Which of the following actions should the administrator take?

The correct answer is A. Configure includedir /etc/sudoers.d directive inside /etc/sudoers file. in /etc/sudoers includedir /etc/sudoers.d you can then place separate files per department under /etc/sudoers.d/, keeping each group’s rules isolated while /etc/sudoers remains clean.

System Management

Question

An administrator wants to reorganize the /etc/sudoers configuration file by department groups. Which of the following actions should the administrator take?

Options

  • AConfigure includedir /etc/sudoers.d directive inside /etc/sudoers file.
  • BCreate a symlink in each user's home directory to /etc/sudoers.
  • CCopy /etc/sudoers and name each group with incremental numbers (/etc/sudoers1,
  • DExecute setfacl commands on /etc/sudoers and add permissions for each group.

How the community answered

(65 responses)
  • A
    89% (58)
  • B
    6% (4)
  • C
    2% (1)
  • D
    3% (2)

Explanation

in /etc/sudoers includedir /etc/sudoers.d you can then place separate files per department under /etc/sudoers.d/, keeping each group’s rules isolated while /etc/sudoers remains clean.

Topics

#sudo#sudoers#configuration management#access control

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice