How to add user in centos without manual password prompt
I am trying to automate setting up a user on centos as part of my script. Here is what i am doing:- /usr/sbin/useradd my-user /usr/bin/passwd my-user You will be be prompted to enter password for the my-user user Now is…