CompTIACompTIA
XK0-005 · Question #719
XK0-005 Question #719: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #719. The question stem and answer options stay visible for context.
System Management
Question
Joe, a user, is unable to log in to the system. The Linux administrator checks the /etc/passwd file and reviews the following output: Joe:x:1002:1002::/home/Joe:/sbin/nologin Which of the following should the administrator do to fix this issue?
Options
- ARemove the x entry in the /etc/passwd file for Joe
- BChange the /sbin/nologin entry to /bin/sh for Joe
- CIssue the usermod -l Joe command
- DEnsure that a corresponding entry is in the /etc/shadow file for Joe
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 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#/etc/passwd#Login shell#Troubleshooting