nerdexam
CompTIA

LX0-102 · Question #417

On a new Linux system, the root user is being asked to provide the root user password before being able to use the su command. What line in the /etc/pam.d/su file will allow root to use su without…

The correct answer is D. auth sufficient pam_rootok.so. See the full explanation below for the reasoning.

Question

On a new Linux system, the root user is being asked to provide the root user password before being able to use the su command. What line in the /etc/pam.d/su file will allow root to use su without supplying passwords?

Options

  • Aauth required pam_norootpw.so
  • Bauth sufficient pam_norootpw.so
  • Cauth required pam_rootok.so
  • Dauth sufficient pam_rootok.so

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    11% (5)
  • C
    2% (1)
  • D
    81% (38)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice