Glen Barber <glen.j.bar...@gmail.com> writes:

> On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijn<j...@webrz.net> 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

And note the '-p' option in particular.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
                http://be-well.ilk.org/~lowell/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to