LPI
202-400 · Question #38
Which of the following sentences is true, when using the following /etc/pam.d/login file? #%PAM-l.0 auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth…
The correct answer is D. Ordinary users will be able to change their password to be blank. See the full explanation below for the reasoning.
Question
Which of the following sentences is true, when using the following /etc/pam.d/login file? #%PAM-l.0 auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth sufficient /lib/security/pam_unix.so shadow nullok md5 use_authtok auth required /lib/security/pam_ldap.so use_first_pass account sufficient /lib/security/pam_unix.so account required /lib/security/pam_ldap.so password required /lib/security/pam_cracklib.so password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow password required /lib/security/pam_ldap.so use_first_pass session optional /lib/security/pam_console.so session sufficient /lib/security/pam_unix.so session required /lib/security/pam_ldap.so
Options
- AAll users will be authenticated against the LDAP directory
- BThis is the only file needed to configure LDAP authentication on Linux
- COnly local users will be able to log in, when the file/etc/nologin exists
- DOrdinary users will be able to change their password to be blank
- EIf the control flags for auth were changed to required, local users wouldn't be able to log in
How the community answered
(40 responses)- A3% (1)
- B10% (4)
- C8% (3)
- D78% (31)
- E3% (1)
Community Discussion
No community discussion yet for this question.