Operating System - HP-UX
1834346 Members
2130 Online
110066 Solutions
New Discussion

Re: su: No shell Bus error

 
Somashekhar_1
New Member

su: No shell Bus error

if i run as root su - test ( or an other user) i am getting following error:
su: No shell
Bus error
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: su: No shell Bus error

Is the default shell (the last field in /etc/passwd) for those users valid?

Try running a 'pwck' and see if any errors are returned. If so, correct them and try your su again.
Con O'Kelly
Honored Contributor

Re: su: No shell Bus error

Hi

See the 10 point solution in this thread. It could be a bad .sh_history file.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=351507

Cheers
Con
bhavin asokan
Honored Contributor
Niraj Kumar Verma
Trusted Contributor

Re: su: No shell Bus error

Hi,

Check the shell directory permission tree
e.g, for /usr/bin/ksh

check the permission for /usr

/usr/bin

Regards
-Niraj
Niraj.Verma@philips.com
RK_6
Occasional Advisor

Re: su: No shell Bus error

Problem solved.Thnaks..

There is wrong entry in /etc/passwd file for shell directory.

shell directory mentioned for user as /bin/csh but /bin directory is not there.
After changing to /usr/bin/csh problem got solved.