Jacob Meuser wrote:
> Just out of curiosity, what's the recommended method of recovering
> root's password on Debian once you forget what it is?
>
> I booted rescue/ramdisk0 from floppies and deleted root's password
> from /etc/shadow, rebooted and logged in as root (I didn't give
> a password, it just gave me root).
>
> Surely this isn't the recommended method, or is it?
Well... It worked... (-:
You could've done
# chroot /target passwd root
> not even
> # LD_LIBRARY_PATH=/target/lib passwd
> would work.)
LD_LIBRARY_PATH is ignored if the executable is setuid.
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]