Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2009 17:52:36 -0700
From:      Josef Grosch <jgrosch@MooseRiver.com>
To:        Jos Chrispijn <jos@webrz.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Resetting user password in cron
Message-ID:  <20090717005236.GA93197@mooseriver.com>
In-Reply-To: <4A5FC857.7020005@webrz.net>
References:  <4A5FC857.7020005@webrz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 17, 2009 at 02:39:51AM +0200, Jos Chrispijn wrote:
> Can someone tell me how I can reset a user's password best in a cron job?
> If I do a password change from the prompt, I now have to re-enter the=20
> password, which I would not like to do in a cron job. Thanks/
>=20
> Jos Chrispijn


man pw
man chpass


Josef

--=20
Josef Grosch           | Another day closer to a | FreeBSD 7.2
jgrosch@MooseRiver.com |   Micro$oft free world  | Berkeley, Ca.

--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFKX8tUy8prLS1GYSERAm2sAJ99vQ3aZK5vnfdce3YM0n8gecHGbACgjJjX
lW7eUAkSGxeeAN82NQzqZno=
=+dJj
-----END PGP SIGNATURE-----

--fdj2RfSjLxBAspz7--



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