Which statement is true about users?

Examine the extract of the /etc/nologin file and the /etc/pam.d/login file on server1:[[email protected] ~] # cat /etc/nologin bob smith[[email protected] ~] # cat /etc/pam.d/login accountrequiredpam_nologin.so accountincludesystem-authWhich statement is true about users?auth required pam_nologin.so — This is the final authentication step. It checks whether the /etc/nologin file exists. If it exists and the user is not root, authentication fails.*The /etc/nologin file contains the message displayed to users attempting to log on to a machine in the process of being shutdown.*the login program defines its service name as login and installs the /etc/pam.d/login PAM configuration file.

Question:

Which statement is true about users?

Options:

Only the root user can log in to the system.

Only users root bob and smith would be unable to log in to the system.

All users, including the root user, would be permitted to log in to the system.

All users, including the root user, would be unable to log in to the system.

Correct Answer

The Correct Answer for this Question is

Only the root user can log in to the system.

Leave a Comment