Good Day,
Is there any way I could add an account with on line
Code:
#adduser -c dog@cat.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
Code:
adduser -p dog1 -c 'dog@cat.com' 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.
Thank you.