Oracle
1Z0-409 · Question #186
Examine the extract 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…
The correct answer is A. Only the root user can log in to the system. See the full explanation below for the reasoning.
Question
Examine the extract 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 accountrequiredpam_nologin.so accountincludesystem-auth Which statement is true about users?
Options
- AOnly the root user can log in to the system.
- BOnly users root bob and smith would be unable to log in to the system.
- CAll users, including the root user, would be permitted to log in to the system.
- DAll users, including the root user, would be unable to log in to the system.
How the community answered
(28 responses)- A79% (22)
- B4% (1)
- C4% (1)
- D14% (4)
Community Discussion
No community discussion yet for this question.