I have PAM/NSS set up on my RedHat 9 system. I have a LDAP server containing user information set up on a separate system. The only difference in LDAP accounts between userA and userB is that userA does not have a 'loginShell' attribute while userB has a "loginShell=/bin/bash".
When I telnet or ssh in as userA, everything works fine and I am in a sh shell. When I telnet in as userB, everything works and I am dropped into a bash shell. When I ssh in as userB, I receive an error in the /var/log/secure file:
sshd: User userB not allowed because shell /bin/bash does not exist
-rwxr-xr-x 1 root root 626028 Feb 11 2003 /bin/bash
1) How can I get a user my users to drop into a bash shell when they telnet or use ssh?
2) Why does userA get dropped into a sh shell?
Thanks in advance!