46
rated 0 times
[
46]
[
0]
/ answers: 1 / hits: 77014
/ 3 Years ago, fri, november 12, 2021, 10:53:16
I am writing a script to add a large amount of users to a system. Part of this involves setting default passwords for each user. How can I set users' passwords without it prompting me for the password up front?
Unfortunately passwd doesn't seem to take an argument stating the new password to set. I'm using Ubuntu 11.10.
More From » password