I have a problem with any user i created on a linux server RH.
With the user root i did:
adduser toto
passwd toto (to give it a password - message : "all authentication tokens updated successfully")
I can do a "su - toto", but when I try to connect it directly by ssh i have the message "Access denied"
I'm sure, very sure (try few times) that is the good password I gave it. I have no idea what's wrong...
It has to be a real shell and not something like /sbin/nologin or /sbin/scponly, and it has to be listed in /etc/shells, but it doesn't have to be BASH.