CompTIA
LX0-103 · Question #167
LX0-103 Question #167: Real Exam Question with Answer & Explanation
The correct answer is D: Edit /etc/passwd and insert an * after thefirst : .. See the full explanation below for the reasoning.
Question
You have a user whose account you want to disable but not remove. What should you do?
Options
- AEdit /etc/gshadow and just remove his 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 thefirst : .
- EEdit /etc/group file and put a # sign in front of his name.
Community Discussion
No community discussion yet for this question.