Oracle
1Z0-403 · Question #103
Note the contents of the /etc/nologin file and the /etc/pam.d/login file on server1: [root@server1 ~]# cat /etc/nologin bob smith [root@server1 ~]# cat /etc/pam.d/login #%PAM-1.0 auth required…
The correct answer is C. All users, including the root user, would be permitted to login to the system. See the full explanation below for the reasoning.
Question
Note the contents of the /etc/nologin file and the /etc/pam.d/login file on server1: [root@server1 ~]# cat /etc/nologin bob smith [root@server1 ~]# cat /etc/pam.d/login #%PAM-1.0 auth required pam_securetty.so auth required pam_stack.so service=system-auth auth sufficient pam_nologin.so account sufficient pam_stack.so service=system-auth password required pam_stack.so service=system-auth Which statement is true about users?
Options
- AOnly the root user can login to the system.
- BOnly users bob and smith would not be able to login to the system.
- CAll users, including the root user, would be permitted to login to the system.
- DAll users, including the root user, would be restricted from login to the system.
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C83% (20)
- D8% (2)
Community Discussion
No community discussion yet for this question.