Story from the Shoot Yourself in the Foot Dept.

Ben Pfaff pfaffben@msu.edu
24 May 2001 13:23:08 -0400


Mark Szidik <szidikm@mlc.lib.mi.us> writes:

> I didn't happen to notice that root entry for the shell was
> /sbin/sh so I accidentally changed the entry to /sbin/bash.
> WOOPS!  there is no bash in /sbin.  So my system is hosed, no
> root access!

Can you specify a kernel command line from the boot monitor (or
whatever a Netra uses)?  Just specify `init=/bin/sh' and you
should be good to go.