forgot root password!!
Rasjid
rasjidw at bigpond.com
Sun Aug 19 21:55:38 EST 2001
Sean Neakums wrote:
>
> begin Rasjid quotation:
>
> > Sean Neakums wrote:
> >> Assuming your LILO image name is "linux", entering:
> >>
> >> linux init=/bin/bash
> >>
> >> at the LILO prompt should bring you to a root shell. I've never tried
> >> this, so YMMV.
> >
> > The above has the drawback of mounting the root filesystem in readonly
> > mode.
>
> # mount -o remount,rw /
>
> > LILO: linux single
>
> The problem with the above is that many distributions ask you for the
> root password when you boot in single user mode, which is why I did
> not suggest it.
Ah, I'm afraid that at this point I've only ever used RedHat, and it
doesn't ask for a root password (I haven't checked for RH7.1, but I
doubt it has changed). I was going to have a look at some other
distributions (most likely Debian) when I get an additional hard-drive.
:-)
Rasjid.
More information about the linux
mailing list