Subject: root "no shell" boo-boo
The scenario:
A friend has a brand new Sparc Station 5. After a few hours of
installing Solaris from the CD-ROM, the first action while logged
in as root was to edit /etc/passwd and change root's shell from
/sbin/sh to /sbin/csh. Oops.
Now, on login as root, the error message, "no shell" appears and
returns to the login prompt.
The problem, of course, is that csh is not in the /sbin directory.
No other logins were created. Bummer. What can they do to
fix this, besides installing the entire Solaris CD-ROM from
scratch?