[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Kickstart User Creation
- From: Zouhir Hafidi <Zouhir Hafidi agat univ-lille1 fr>
- To: kickstart-list redhat com
- Subject: RE: Kickstart User Creation
- Date: Mon, 5 May 2003 16:43:53 +0200 (MEST)
>>Would getting the encrypted password from the /etc/shadow be the same as
>>copying the encryption text from a manually created Kickstart Configuration
>>file (meaning a KS.cfg file from a machine I created manually, including
>>adding the user & password manually during the install).
>
>Yes, they would be similar (but not identical). shadow file entries
>beginning with $1$ indicate md5-crypted passwords (which you want), and
>the random salt will cause the actual stored value to change.
>
>As I've recommended before, the best way I've seen to generate cryptpw's
>is:
>
>$ openssl passwd -1
>Password: secret!
>$1$ZhEKgpbS$KtmSr63TRqGQ1NcGXCaR01
>
>Openssl only asks once, so you might want to verify the output:
>(notice the salt is between the second and third $ signs)
>
>$ openssl passwd -1 -salt ZhEKgpbS
>Password: secret!
>$1$ZhEKgpbS$KtmSr63TRqGQ1NcGXCaR01
>
>
you can also use grub-md5-crypt which is useful if
openssl is not installed on your system
ZH
----------------
Zouhir HAFIDI
USTL, U.F.R. de Mathematiques, Bat. M2
F-59655 Villeneuve d'Ascq CEDEX, FRANCE
tel (+33) 3.20.43.45.15 fax (+33) 3.20.43.43.02
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]