CompTIA
LX0-102 · Question #272
Which of the following is the BEST way to temporarily suspend a user's ability to interactively login?
The correct answer is C. Changing the user's shell to /bin/false. See the full explanation below for the reasoning.
Question
Which of the following is the BEST way to temporarily suspend a user's ability to interactively login?
Options
- AChanging the user's UID.
- BChanging the user's password.
- CChanging the user's shell to /bin/false.
- DRemoving the user's entry in /etc/passwd.
- EPlacing the command logout in the user's profile.
How the community answered
(55 responses)- A9% (5)
- B4% (2)
- C84% (46)
- D2% (1)
- E2% (1)
Community Discussion
No community discussion yet for this question.