Linux_FoundationLinux_Foundation
LFCS · Question #295
LFCS Question #295: Real Exam Question with Answer & Explanation
Sign in or unlock LFCS to reveal the answer and full explanation for question #295. The question stem and answer options stay visible for context.
Submitted by valeria.br· Apr 18, 2026User and Group Management
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.
Unlock LFCS to see the answer
You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#User management#Account disabling#/etc/passwd#Security