Date: Thu, 16 Jul 2009 20:17:56 -0600 From: Tim Judd <tajudd@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Resetting user password in cron Message-ID: <ade45ae90907161917m679bf1f6tcc579047f6de0797@mail.gmail.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
On 7/16/09, Jos Chrispijn <jos@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/ > > Jos Chrispijn yes newpasswd | passwd username :) not tried it myself.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90907161917m679bf1f6tcc579047f6de0797>