Full Disclosure mailing list archives

Re: Root password change


From: spam <spam () thegeekzone com>
Date: Thu, 30 Mar 2006 13:45:31 -0600

Michael Holstein wrote:
Easiest way to reset a lost UNIX password is boot from a "live CD"
(eg: knoppix) .. mount the / partition of your hard drive (eg: mnt -t
ext2 /dev/hda1 /mnt) then do "chroot /mnt" and execute "passwd root"
from in there.

Isn't it easier to boot into single user mode and reset the password? It
doesn't require you to load the live CD which is one less step.

Ben

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: