nerdexam
CompTIA

XK0-006 · Question #82

A Linux systems administrator is resolving a privileged access issue for users who are members of an admin group. Which of the following configuration files should the administrator update so the…

The correct answer is A. /etc/sudoers. The /etc/sudoers file controls which users and groups can elevate privileges via sudo. By adding a line such as %admin ALL=(ALL) ALL to /etc/sudoers, members of the admin group gain root-level access.

Services and User Management

Question

A Linux systems administrator is resolving a privileged access issue for users who are members of an admin group. Which of the following configuration files should the administrator update so the users in the admin group will have root privileged access to the Linux system?

Options

  • A/etc/sudoers
  • B/etc/login.defs
  • C/etc/group
  • D/etc/shadow

How the community answered

(60 responses)
  • A
    90% (54)
  • B
    3% (2)
  • C
    5% (3)
  • D
    2% (1)

Explanation

The /etc/sudoers file controls which users and groups can elevate privileges via sudo. By adding a line such as %admin ALL=(ALL) ALL to /etc/sudoers, members of the admin group gain root-level access.

Topics

#sudoers#privilege escalation#admin group#access control

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice