How To Add a User During Kickstart
 

How To Add a User During Kickstart

 

This post was last updated on May 26th, 2020 at 10:37 pm

Adding a user during kickstart:

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

Making encrypted passwords:

$ 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

Thanks Phil for the above password creation help.

Previous PXE Server Setup - whitepaper
Next How to Install apt or apt-get and Synaptic on RedHat Linux or Fedora
 

About author

shibaa987
shibaa987 274 posts

Linux kernel developer and a firmware developer with an experience of 10+ years.

View all posts by this author →

You might also like

How To 0 Comments

How To Upgrade Packages In FreeBSD?

This post was last updated on August 1st, 2020 at 12:06 pmFreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution. It is used to power

How To 0 Comments

How To Create A Shared Directory Between Host And Guest In KVM?

This post was last updated on August 1st, 2020 at 02:39 pmKVM or kernel-based virtual machine is a virtualization module of Linux kernel. It requires hardware with virtualization extensions such

How To 0 Comments

Logical Volume Manager (LVM)

This post was last updated on June 3rd, 2020 at 04:44 pmI was able to set up a linux volume on RH80 without many problems. I just tried several commands

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply