Resetting user password in cron

Glen Barber glen.j.barber at
Fri Jul 17 01:06:10 UTC 2009

On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijn<jos at> 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/

Hi, Jos

You can use chpass(1) in root's crontab:

Glen Barber

More information about the freebsd-questions mailing list