readthefuckingmanual.net

[SOLVED] sshd[pid]: User guest not allowed because shell /dev/null is not executable

Error added: 2005-08-11T09:39:23Z

0 people waiting for the answer...

4 answers found.

Answer 9 (0.0% helpful)

Someone has tried to log in as guest, but is not allowed as the shell specified in /etc/passwd is /dev/null, and this is not executable. It is likely a script, trying to break into boxes.
Permalink

Answer 121 (0.0% helpful)

Also note that it got the right password for guest.
Permalink

Answer 322 (0.0% helpful)

USe the AllowUsers or AllowGroups Directive in sshd_conf to only allow the specified users to log in via ssh.
This will prevent the abuse of default system accounts which DO HAVE shell access.
 - There are plenty of them.
Permalink

Answer 463 (0.0% helpful)

for answer #2, not necessarily, I got the same message, even I do not allow password authentication. just certificates.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: