CompTIA
LX0-102 · Question #295
An administrator has a user whose account needs to be disabled but not removed. Which of the following should the administrator do?
The correct answer is D. Edit /etc/passwd and insert an * after the first. See the full explanation below for the reasoning.
Question
An administrator has a user whose account needs to be disabled but not removed. Which of the following should the administrator do?
Options
- AEdit /etc/gshadow and just remove the user name. and just remove the user? name.
- BEdit /etc/passwd and change all numbers to 0.
- CEdit /etc/shadow and remove the last field.
- DEdit /etc/passwd and insert an * after the first : .
- EEdit /etc/group file and put a # sign in front of the user name. sign in front of the user? name.
How the community answered
(34 responses)- B6% (2)
- C9% (3)
- D82% (28)
- E3% (1)
Community Discussion
No community discussion yet for this question.