LAB 14-4: WORK WITH PLUGGABLE AUTHENTICATION MODULES (PAM): LINUX INSTALLATION
AND CONFIGURATION | COMPLETE STUDY GUIDE, PRACTICE QUESTIONS & ANSWERS
2026/2027
Which command should you use to check if a package is PAM-aware? - ANS ✔✔ldd
To restrict root access to a Linux system, which two files do you need to edit? [Choose two.] -
ANS ✔✔/etc/pam.d/sshd
/etc/pam.d/login
Which file do you need to create for deny root access to a system? - ANS
✔✔/etc/ssh/deniedusers
In which directory do you create the deniedusers file? - ANS ✔✔/etc/ssh/
Which PAM package is used check if a package is PAM compatible? - ANS ✔✔libpam.so
AND CONFIGURATION | COMPLETE STUDY GUIDE, PRACTICE QUESTIONS & ANSWERS
2026/2027
Which command should you use to check if a package is PAM-aware? - ANS ✔✔ldd
To restrict root access to a Linux system, which two files do you need to edit? [Choose two.] -
ANS ✔✔/etc/pam.d/sshd
/etc/pam.d/login
Which file do you need to create for deny root access to a system? - ANS
✔✔/etc/ssh/deniedusers
In which directory do you create the deniedusers file? - ANS ✔✔/etc/ssh/
Which PAM package is used check if a package is PAM compatible? - ANS ✔✔libpam.so