Changing user password from command line

Simon Phoenix phoenix.lists at
Wed Aug 2 12:53:24 UTC 2006

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 at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list