RE: Kickstart User Creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>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





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux