set logon password without useradd?
I'm writing some script to automagically create a new useraccount.
I want the script to run with two parameters, the username and his password. Now to create the user account is no problem at all but to set the password without the prompt asking it, is that possible?
The goal is that the script can run without any interactive user input. Is it possible to have the script provide the input for the passwd?