CompTIA
LX0-102 · Question #490
Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?
The correct answer is D. Use chage to expire the user account. See the full explanation below for the reasoning.
Question
Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?
Options
- AAdd the user name to /etc/nologin.
- BChange the user's password.
- CChange the user name in /etc/passwd.
- DUse chage to expire the user account.
- EPlace the command logout in the user's profile.
How the community answered
(53 responses)- A11% (6)
- B2% (1)
- C4% (2)
- D81% (43)
- E2% (1)
Community Discussion
No community discussion yet for this question.