OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
SSH and Pam: shell /bin/bash does not exist

From: Gabby James (lizard0000092hotmail.com)
Date: Tue Dec 02 2003 - 07:48:00 CST


Hi,

I am using RH 9, pam-0.75-48 and openssh-3.5p1-6.

When I try to ssh into the system, I receive the following error messages in
/var/log/secure:

Dec 2 07:37:55 2d2-dhcp-2-2-2 sshd[11560]: User johnl not allowed because
shell /bin/bash does not exist
Dec 2 07:37:55 2d2-dhcp-2-2-2 sshd[11560]: input_userauth_request: illegal
user johnl
Dec 2 07:37:55 2d2-dhcp-2-2-2 sshd[11560]: Failed none for illegal user
johnl from 10.2.1.3 port 32932 ssh2
Dec 2 07:37:57 2d2-dhcp-2-2-2 sshd[11560]: Failed password for illegal user
johnl from 10.2.1.3 port 32932 ssh2

/etc/pam.d/sshd --> (default file that was installed on system)
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session required pam_limits.so
session optional pam_console.so

Lines uncommented in /etc/ssh/sshd_config -->
SyslogFacility AUTHPRIV
PermitRootLogin no
ChallengeResponseAuthentication yes
UsePrivilegeSeparation no
Subsystem sftp /usr/libexec/openssh/sftp-server

I can use telnet without any problems, but ssh gives me problems. /bin/bash
does exist on my system. It is executable, owned by root and has a mode of
766.

Any ideas would be much appreciated.

Thanks!

_________________________________________________________________
>From the hottest toys to tips on keeping fit this winter, you’ll find a
range of helpful holiday info here.
http://special.msn.com/network/happyholidays.armx

_______________________________________________
Pam-list mailing list
Pam-listredhat.com
https://www.redhat.com/mailman/listinfo/pam-list