Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Where did grub-md5-crypt go? (http://www.linux-archive.org/fedora-user/600924-where-did-grub-md5-crypt-go.html)

Terry Polzin 11-21-2011 02:58 PM

Where did grub-md5-crypt go?
 
Went to encrypt a passwd for a kickstart file and no grub-md-5-crypt.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

"Bryn M. Reeves" 11-21-2011 03:14 PM

Where did grub-md5-crypt go?
 
On 11/21/2011 03:58 PM, Terry Polzin wrote:
> Went to encrypt a passwd for a kickstart file and no grub-md-5-crypt.
>

The grub-md5-crypt script is part of the grub1 (well, grub-0.97 ;)
package which has been replaced by grub2 in F16.

The new grub provides a grub2-mkpasswd-pbkdf2 command that generates
password hashes using the "password-based key derivation function 2"[1]
that can be used with the new bootloader.

If you need something that generates salted md5 password hashes for
kickstart scripts or other uses then you can either use an older system
that still has grub-md5-crypt (it relies on the grub binary so you can't
just snarf the script) or use the openssl passwd command:

$ openssl passwd -1
Password:
Verifying - Password:
$1$GsTg0gmS$2mbho2f4PADEKcDSsiMrt0

Regards,
Bryn.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

"Bryn M. Reeves" 11-21-2011 03:18 PM

Where did grub-md5-crypt go?
 
On 11/21/2011 04:14 PM, Bryn M. Reeves wrote:
> The new grub provides a grub2-mkpasswd-pbkdf2 command that generates
> password hashes using the "password-based key derivation function 2"[1]
> that can be used with the new bootloader.

[1] http://en.wikipedia.org/wiki/PBKDF2

Yeah, I had to look it up :-)

Bryn.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 03:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.