[sf-lug] recovery from loss of root password

Christian Einfeldt einfeldt at gmail.com
Thu Sep 27 20:13:07 PDT 2007


hi

On 9/19/07, Michael Cheselka <cheselka at gmail.com> wrote:
>
> Hello Alex,
>
> You can mount the drive and then chroot to it in recovery/single-user
> mode.
> Example:
>
> mkdir /tmp/hda1
> mount /dev/hda1 /tmp/hda1
> chroot /tmp/hda1
> passwd


heh, here is a /. article which talks about chroot as a security weakness,
if I am reading the summary correctly.  I haven't read the story yet.

http://it.slashdot.org/it/07/09/27/2256235.shtml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20070927/861b500b/attachment.html>


More information about the sf-lug mailing list