Exam4Training

Which of the following steps prevents a user from obtaining an interactive login session?

Topic 3, Administrative Tasks

Which of the following steps prevents a user from obtaining an interactive login session?
A .  Run the command chsh -s /bin/false with the user name.
B .  Set the UID for the user to 0.
C .  Remove the user from the group staff.
D .  Add the user to /etc/noaccess.
E .  Create a .nologin file in the user’s home directory.

Answer: A

Exit mobile version