Server Locked

Hi

i was changing the entry in the /etc/passwd file for the root user.

i was changing the shell from sh to bash . I changed the file and rebooted
the server.Now it is saying that invalid shell. I think i have misspelt bash.
now the machine is set to boot in maultiuser mode so there is no OK prompt on reboot.Is there any way i can get into the Server and change the entry

Thanks

you can boot from a cd/dvd or from network and mount the local disk to change the file. note that the path is differnt to the shells!

# /sbin/sh
# /usr/bin/bash

for the next time

su root
and then
passwd -e root

and I strongly recomend you NEVER change to root users shell.
if the server has issues often root is the only fix, if the root user has an invalid shell then you are out of luck.

often bash is a dynamically linked program, if you can mount all your file systems then the libaray's may be missing...
how do you get in as root to fsck??

/sbin/sh as it is statically linked. most other shells are dynamic.

Incorrect for Solaris 10 or later. There are no static executables in Solaris 10.

cool, we all get to learn something today....