Re: Few questions

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

 



You can also use the following scripts to generate hash strings on the fly:

http://sial.org/howto/perl/password-crypt/

- Matt

Alan McKay wrote:
* add a user (for some reason I get a prompt for root password but no
 user creation). Do I have to use firstboot for this ?
    

I do this in my kickstart %post and it works fine

/usr/sbin/adduser amckay -p '$1$SGsRpvZG$4JInUk0a.zIoUhboL39v./'

To get the encrypted string just take it from an existing password file.


  

-- 
---------------------------------------------------------------------
Matt Fahrner                                    2 South Park St.
Director of Infrastructure Architecture         Willis House
Burlington Coat Factory Warehouse               Lebanon, N.H.  03766
Tel: (609) 387-7800 x5150                       USA
Fax: (603) 443-6190                             Matt.Fahrner@xxxxxxxx
---------------------------------------------------------------------
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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