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)- A6% (3)
- B11% (5)
- C2% (1)
- D81% (38)
Community Discussion
No community discussion yet for this question.