[ale] no root shell
Danny Cox
danscox at mindspring.com
Mon Jul 8 15:04:04 EDT 2002
All,
On Mon, 2002-07-08 at 14:54, James P. Kinney III wrote:
> You will need to reboot the box with an alternate boot device, i.e. toms
> root boot disk is good. Once in, edit the passwd file to point to a real
> shell.
>
> On Mon, 2002-07-08 at 13:27, Mazukna, Thomas wrote:
> > Hi,
> >
> > I have an issue on my hands.
> > the shell specified in passwd for root does not exist.
> > how to get into "root" ?
I think there's a faster way. At the LILO prompt, type
linux init=/bin/bash
once in, you may have to mount /usr to access your fav editor, edit
/etc/passwd, save it, type sync, and reboot.
Note: when you do this, not much is running, so don't forget the sync!
And unless you also umount /usr, it'll run an fsck on both it and root
after the reboot.
--
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.
Danny
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list