[ale] Grub password
Scott Warfield
magius at wittsend.com
Wed Nov 24 12:12:26 EST 2004
So we know that we can use grub-md5-crypt to generate a grub passwod. The
hash is then generated as such: $1$[seed]$[hash]. In perl we can generate
something similar by using "$hash=crypt([password],[seed]);", where seed is
"\$1\$xxxxxx".
However, if you use the perl generated hash, the password wont work in grub.
Does any know why that is? I'm trying to automate a grub password
installation with perl.
-------------------------------------------------------
Scott Warfield
Internet Security Systems
X-Force Developer
swarfield at iss.net
PGP Key: 0x1DE30C1D
-------------------------------------------------------
More information about the Ale
mailing list