[plug] Re: Root Password

Joong Cho joongcho at westnet.com.au
Thu Nov 11 20:13:30 WST 2004


> Boot knoppix
> Mount hard disk partitions
> Text edit /etc/shadow on whichever volume it ends up on
> Look for root:$gdfgsdfg5445gsgsgs5sg:12581:0:99999:7:-1:-1:-1 or somehting
> like it, and remove the text $gdfg... Right up until the next ":"
> (now should look like "root::12581:0:99999:7:-1:-1:-1")
> Save and reboot
>
> Root just requires the enter key.
>
> HTH
>
> CraigF.

Hi Craig,

Where do I mount the hard disk partitions to? the cd or the floppy?

> If you don't have a rescue cd:
>  - Boot linux with the 'init=/bin/bash' argument, eg
>    linux init=/bin/bash
>  - You'll be dropped to a shell prompt. Run:
>  - mount /proc
>  - mount / -o rw,remount
>  - passwd
>  - mount / -o ro,remount
>  - sync
>  - reboot

How do you make a boot CD if you don't have one?

Thanks.

Joong Cho
Joong Cho Enterprises
President

Web Site Administrator and Web Site Designer
http://www.joongcho.com/
http://www.startreklibrary.com/





More information about the plug mailing list