How To Add a User During Kickstart

0/5 Votes: 0
Report this app


Adding a user during kickstart:

/usr/sbin/useradd username
/usr/sbin/usermod -p ‘<encrypterd_password>’ <username>

Making encrypted passwords:

$ openssl passwd -1
Password: secret!

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!

Thanks Phil for the above password creation help.

Leave a Reply

Your email address will not be published. Required fields are marked *