09-25-05 07:46 AM
On Fri, 23 Sep 2005 00:40:54 -0400, Bryan Donlan wrote:
> Frederick Wilson wrote:
>
>
> If you are using Grub:
> Boot the computer
> At the grub menu press 'e', move to the line with the kernel on it, press
> 'e' again
> Add ' init=/bin/sh' to the end
> Press enter, then 'b'
> Once you have a shell prompt, type:
>
> mount -nt procfs /proc /proc
> mount -n -o remount,rw /
> passwd
> # change your password
> mount -o remount,ro /
> umount -n /proc
> sync;sync;sync
> reboot -f
>
> In lilo a similar procedure will work but I don't know how to get the
> init=/bin/sh entry in.
>
If you are booting lilo, hit the shift or perhaps the ctrl key. Maybe
the shift key and enter linux init=/bin/bash
That should get ya close
--
Michael Perry | do or do not. There is no try. -Master Yoda
mperry@lnxpowered.org | http://www.lnxpowered.org
[ Post a follow-up to this message ]
|