202-450 Exam QuestionsBrowse all questions from this exam

202-450 Exam - Question 118


Select the alternative that shows the correct way to disable a user login for all users except root.

Show Answer
Correct Answer: D

To disable user login for all users except root, the correct method is to use the pam_nologin module along with the /etc/nologin configuration file. This method effectively prevents normal users from logging in while allowing root access.

Discussion

1 comment
Sign in to comment
ArminaOption: D
Feb 20, 2022

D is correct