bmickey
asked on
su no shell hp-ux 11.23
I am havining an issue on my HP-UX 11.23 unix system. I can log in as root but I can't telnet in as any other user. I also can't use the su - <insert user id here> command.
I even tried to create a new user using SAM and that user couldn't login either with out a "No Shell" error.
I checked the /etc/passwds and it appears the last part of each line has the correct path to the shell.
Ideas? Is there a process that didn't start up or something I'm missing? Need help troubleshooting.
I even tried to create a new user using SAM and that user couldn't login either with out a "No Shell" error.
I checked the /etc/passwds and it appears the last part of each line has the correct path to the shell.
Ideas? Is there a process that didn't start up or something I'm missing? Need help troubleshooting.
ASKER
/etc/shells is for Solaris unix only, this is HP-UX. (I Think). I do not have a /etc/shells file on either of my systems, the one that works and the one that does not.
ASKER
when i look at the passwd file it says the shell is /sbin/sh for root. for most of the other users its /usr/bin/sh or /usr/bin/ksh
Do /usr/bin/sh and /usr/bin/ksh exist?
What do you get with
ls -l /usr/bin/*sh
Are the shells (if present) executable for everyone?
wmp
What do you get with
ls -l /usr/bin/*sh
Are the shells (if present) executable for everyone?
wmp
ASKER
They do exist. They are executable, permissions are -r-xr-xr-x
I compared them to the working system and its the same thing..
I compared them to the working system and its the same thing..
Found a hint on permissions of the "/" filesystem.
They should be 755. Did you change something in that regard?
They should be 755. Did you change something in that regard?
ls -ld /
ASKER
They are 755, drwxr-xr-x
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The /usr permissions had been changed inadvertently.
Is root using the same shell as the problem users?
wmp