Operating System - HP-UX
1753886 Members
7358 Online
108809 Solutions
New Discussion юеВ

su : no shell + memory fault

 
nishith
Frequent Advisor

su : no shell + memory fault

i had power outage.my hp-ux servers booted back. all filesystems afe fine. but now i'm able to login only as root user. for all other user i get the mesage

su : no shell
memory fault.

please help. i made permissions of the /usr & /home to 755. still problem exits
2 REPLIES 2
Muthukumar_5
Honored Contributor

Re: su : no shell + memory fault

check the shell binary permission. It has to be 555.

example:
# ls -l /usr/bin/sh
-r-xr-xr-x 2 bin bin 204800 Oct 21 2003 /usr/bin/sh

check the the directory permissions of /usr/bin too. Which user you are trying to login. Check that users shell type from /etc/passwd file as root user and check the directory and binary file permission to have world searchable (x) permission on last bit.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: su : no shell + memory fault

Hi,

Did you run filesystem consistency check after the crash ? You can do it with, # fsck -F vxfs -o full -y /dev/vg00/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"