CompTIA
LX0-104 · Question #295
LX0-104 Question #295: Real Exam Question with Answer & Explanation
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.
Community Discussion
No community discussion yet for this question.