Changing user password from command line

Simon Phoenix phoenix.lists at gmail.com
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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060802/1a453d88/attachment.pgp


More information about the freebsd-questions mailing list