Select the alternative that shows the correct way to disable a user login for all users except root.



A. The use of the pam_block module along with the /etc/login configuration file.
B. The use of the pam_deny module along with the /etc/deny configuration file.
C. The use of the pam_pwdb module along with the /etc/pwdv.conf configuration file.
D. The use of the pam_nologin module along with the /etc/nologin configuration file.

題解

「pam_nologin」模組可以禁止非root使用者的登入。