nerdexam
CompTIA

XK0-005 · Question #1495

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…

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…

Troubleshooting

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?

Exhibits

XK0-005 question #1495 exhibit 1
XK0-005 question #1495 exhibit 2

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.

How the community answered

(54 responses)
  • A
    6% (3)
  • B
    9% (5)
  • C
    2% (1)
  • D
    83% (45)

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

#User accounts#Shell configuration#Login issues#Remote access

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice