|
21st April 2005, 15:07 |
#1 |
|
Junior Member
Join Date: Apr 2005 Posts: 6 |
I've forgotten the root password
of my desktop
computer. |
|
|
|
#2 |
|
||
|
Junior Member
Join Date: Apr 2005 Posts: 16 |
Get a rescue CD (e.g. from here: http://rescuecd.sourceforge.net/download.html), boot your computer from it, then login as root (if you use the rescue CD mentioned before, the password is rescue, then mount your hard disk, chroot to it and set a new password for root: Code: mount -t auto /dev/hda1 /mnt cd /mnt chroot /mnt passwd root
|
|
|
|
|
|
||
|
|
|
|
|
|
#3 |
|
||
|
Junior Member
Join Date: Apr 2005 Posts: 6 |
Thanks tyler, you were a great
help. I have root access again! |
|
|
|
|
|
||
|
|
|
|
|
|
#4 |
|
||
|
Member
Join Date: Oct 2005 Location: Texas, USA Posts: 91 |
Just a reference
for anyone else reading this... you can
just as easily change root's password with out the
use of a LiveCD. |
|
|
|
|
|
||
|
|
|
|
|