Edit your file /etc/passwd. You'll have a user described in every line. Last entry is its shell (must be /usr/bin/sh or something like that). Check if it's correct.
I don't know. That's something that depends on your system configuration. You could try... What kind of shell are you using? kshell,Bshell? you could search for it on your system (usually in /bin, /sbin or /usr/bin), and copy it to /usr/bin/sh.
If you were using this shell, then it'll be ok. If it's a different shell, it isn't a very bad problem, and you'll know when your users tell you that something is wrong ;-) As far as I know the main problem with it could be the scripts.
If users' profiles are running well, then my guess is that your using the correct sh.
Yes, one is a dynamically linked executible and the other is not (one in sbin should not be). I really do not know whay they are different, but they are.
Also, in the future if your having login problems, running pwck can sav a alot of time trying to figure out what is wrong in the /etc/passwd file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.