Resetting user password in cron

Josef Grosch jgrosch at
Fri Jul 17 01:10:13 UTC 2009

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 
> password, which I would not like to do in a cron job. Thanks/
> Jos Chrispijn

man pw
man chpass


Josef Grosch           | Another day closer to a | FreeBSD 7.2
jgrosch at |   Micro$oft free world  | Berkeley, Ca.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list