XK0-005 · Question #500
XK0-005 Question #500: Real Exam Question with Answer & Explanation
The correct answer is D: The user has the wrong shell assigned to the account.. The user has the wrong shell assigned to the account, which is causing the issue. The output 1 shows that the user's shell is set to /bin/false, which is not a valid shell and will prevent the user from logging in. The output 2 shows that the user's home directory has the correct
Question
When trying to log in remotely to a server, a user receives the following message: The server administrator is investigating the issue on the server and receives the following outputs: Which of the following is causing the issue?
Options
- AThe wrong permissions are on the user's home directory.
- BThe account was locked out due to three failed logins.
- CThe user entered the wrong password.
- DThe user has the wrong shell assigned to the account.
Explanation
The user has the wrong shell assigned to the account, which is causing the issue. The output 1 shows that the user's shell is set to /bin/false, which is not a valid shell and will prevent the user from logging in. The output 2 shows that the user's home directory has the correct permissions (drwxr-xr- x), and the output 3 shows that the user entered the correct password and was accepted by the SSH daemon, but the session was closed immediately due to the invalid shell.
Topics
Community Discussion
No community discussion yet for this question.