Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 15:53:07 +0300
From:      Simon Phoenix <phoenix.lists@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Changing user password from command line
Message-ID:  <200608021553.19086.phoenix.lists@gmail.com>
In-Reply-To: <58ebaa710608020248r1cfb7915t4caa0f6fcdbecb84@mail.gmail.com>
References:  <58ebaa710608020248r1cfb7915t4caa0f6fcdbecb84@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart26883079.VbQyzc2JmW
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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
> "freebsd-questions-unsubscribe@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

--nextPart26883079.VbQyzc2JmW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQBE0KA/hLjVFCVp0wsRAln7AKD30akZ7xP8YCDc2xlwXyut3V7XBQCcDeSr
ZOwbdpvuWBgrnx59X9cfUeo=
=1ZMU
-----END PGP SIGNATURE-----

--nextPart26883079.VbQyzc2JmW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608021553.19086.phoenix.lists>