[ale] Grub password
Bob Toxen
bob at verysecurelinux.com
Wed Nov 24 15:16:52 EST 2004
Scott,
I don't know the answer. HOWEVER, thanks for explaining what part of
the passwd "hash" in /etc/shadow is the seed. I, uh, only knew for
the ancient DES format.
Best regards,
Bob
On Wed, Nov 24, 2004 at 12:10:24PM -0500, Scott Warfield wrote:
> 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
> -------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list