LPIC-1 Exam 102 v5 (Linux Administrator) — Question 45

Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)

Answer options

Correct answer: C, D, E

Explanation

The correct answers are C, D, and E because the configuration specifies that jane can run /sbin/fdisk only with her password, while /bin/kill and /bin/id can be executed without a password. Options A and B are incorrect as they imply that she needs to enter a password for commands that she can actually run without one.