David Leon wrote:
> I'm trying to avoid typing every password manually. I just need an
> script that makes the job.
>
> useradd creates the account but still need to setup accpunt's password.
>
from 'man passwd'
--stdin
This option is used to indicate that passwd should read the
new password from standard input, which can be a pipe.