CompTIA
XK0-005 · Question #10630
A user (userA) has reported issues while logging in to the system. The following output has been provided: Which of the following describes the issue userA is having?
The correct answer is D. The assigned home directory is not owned by userA. The issue occurs because the home directory /home/userA is owned by root, not by userA, as seen from the ls -lth /home output. In Linux, the user must have ownership of their home directory to log in and access their files properly. To fix this, the administrator must change…
Troubleshooting
Question
A user (userA) has reported issues while logging in to the system. The following output has been provided: Which of the following describes the issue userA is having?
Options
- AThe password for userA is not set
- BThe group for userA is not assigned correctly
- CThe account password for userA has expired
- DThe assigned home directory is not owned by userA
How the community answered
(60 responses)- A17% (10)
- B8% (5)
- C3% (2)
- D72% (43)
Explanation
The issue occurs because the home directory /home/userA is owned by root, not by userA, as seen from the ls -lth /home output. In Linux, the user must have ownership of their home directory to log in and access their files properly. To fix this, the administrator must change ownership using chown userA:userA /home/userA.
Topics
#User management#File permissions#Home directory#Troubleshooting login
Community Discussion
No community discussion yet for this question.