On Wednesday 02 August 2006 12:48, Mike Fern wrote:
> Dear all,
> Does anybody know a program which is able to change user password from
> command line?
> We can add a user using single line pw (pw useradd), but i need
> ability to set the password also, instead of old command "passwd user"
> and then writing to stdin.
>
> Any ideas, suggestion?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

man pw

Look for -h option description.

--
Best regards,
Simon Phoenix (Phoenix Lab.)
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B

Attachment: pgpMMVqhr24Rc.pgp
Description: PGP signature

Reply via email to