Posted on

Linux+ – LX0-102 – Exam 2 Samples – Question 86

Of the ways listed, which is the best way to temporarily suspend a single user’s ability to interactively login?

A. Add the user name to /etc/nologin.
B. Change the user’s password.
C. Change the user name in /etc/passwd.
D. Use chage to expire the user account.
E. Place the command logout in the user’s profile.

Correct Answer: D

Leave a Reply

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