[ale] Good Tip from CNET

Emil P. Man mailinglists at synban.com
Mon Feb 23 12:43:55 EST 2004


If you are lucky and didn't password protect grub/lilo, just boot in 
signle user mode, and just type passwd.

Christopher Fowler wrote:

>1. In the lilo or grub boot prompt add the following 'init=/bin/sh'
>2. When you get a shell promtp issue this command
>    mount / -o remount,rw
>3. Edit the shadow or passwd file
>4. Reboot the system.
>
>
>On Mon, 2004-02-23 at 01:52, Robert Reese wrote:
>  
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hi All,
>>
>>I'm sure all of you out there already knew this, but I thought it good enough
>>to pass along.  ;c)
>>
>>Hopefully it will help someone else, too, as I'm sure this will certainly
>>come in handy for me one day (probably more like a week's worth, actually).
>>
>>Peace,
>>Robert Reese~
>>
>>CNET TIP:
>>Message-ID: <1751011.1077502801145.JavaMail.accucast at 206.16.1.8>
>>
>> Help! I'm running Linux on my PC, and I've lost my root password. Is there
>>anything I can do?
>> 
>> 1. Boot up the system from the CD or floppy disk.
>> 2. Mount the /root partition.
>> 3. Edit the /etc/shadow (or /etc/passwd if this file doesn't exist (it
>>wasn't there in older versions of Linux).
>> 4. Find the line starting with root and delete anything between the first
>>and second colon (:)
>> 5. Reboot; the root password is now blank.
>> 6. Remember to set a new password when you log in!
>>
>>-----BEGIN PGP SIGNATURE-----
>>Version: PGP 8.0.3
>>Comment: No on has the right to NOT be offended!
>>
>>iQA/AwUBQDmh27w8BOWncaQMEQLk6gCfTvarDOfRCXc1MnKvI4ndd382GEAAn16p
>>n4LfLbxU9YXDen4g/zkyCuXa
>>=j8Tv
>>-----END PGP SIGNATURE-----
>>
>>
>>Type: DH/DSS 4096/1024 AES-256
>>Key ID: 0xA771A40C
>>Fingerprint: CAE2 81CA A7CD 6681 341C  E3A9 BC3C 04E5 A771 A40C
>>
>>
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
>>    
>>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
>  
>



More information about the Ale mailing list