On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijn<[email protected]> 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:
http://www.freebsd.org/cgi/man.cgi?query=chpass&sektion=1

-- 
Glen Barber
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to