Operating System - HP-UX
1833329 Members
2530 Online
110051 Solutions
New Discussion

Re: System halts whilst booting

 
Tommy_8
Frequent Advisor

System halts whilst booting

When I rebooted my K580 HPUX 10.20, it halted and went into single user. The error message I got was root::0:3::/:/usr/bin/sh
bad shell "/usr/bin/sh" for root

this took me to the passwd file were I made a copy and vi'ed the password from the original.
when rebooting the system haled at the same point. I typed init 3 and the system is running normally, but I still have this problem any ideas.

Regards Tony
1 REPLY 1
Elmar P. Kolkman
Honored Contributor

Re: System halts whilst booting

Is /usr mounted at that time? I think not, that's why root normally uses /sbin/sh as shell... /sbin is available in every run level, while /usr/bin (and /bin which is a symlink to /usr/bin) is not.
Every problem has at least one solution. Only some solutions are harder to find.