setting the password of a automatically created account
Sam Fourman Jr.
sfourman at gmail.com
Fri Sep 6 02:19:54 UTC 2013
On Thu, Sep 5, 2013 at 9:52 PM, Aryeh Friedman <aryeh.friedman at gmail.com>wrote:
> I have a port that needs to create a a user of a given name and a given
> default password... I found in the porters guide how to make the account
> but not set the password
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
this isn't the official way I'm sure, but a dirty hack could be:
echo password123 | pw usermod mynewuser -h 0 2>&1
--
Sam Fourman Jr.
More information about the freebsd-ports
mailing list