Is there any way I could add an account with on line
#adduser -c email@example.com -d /home/dog -m dog
And when user log in for the firt time he could pick his own password.
OR Is there any way I can add password in while adding user?
I have tried
adduser -p dog1 -c 'firstname.lastname@example.org' dog
But that doesn't make "dog1" password for user dog.
Note I have used "passwd" utility but here I need to do whole thing once, No prompts a answers.