How to set password from script?
I want to create a user, then generate a temperory password for the user automatically from a script. I don't want the prompt from passwd command print on the screen and wait for the user to enter new password. I want to use a script to set the user's password. How can I do this?
Thanks.
|