Which statement is true about users?

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?

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?

A.
Only the root user can login to the system.

B.
Only users bob and smith would not be able to login to the system.

C.
All users, including the root user, would be permitted to login to the system.

D.
All users, including the root user, would be restricted from login to the system.



Leave a Reply 0

Your email address will not be published. Required fields are marked *