Date: Thu, 16 Jul 2009 17:14:07 -0800 From: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> To: freebsd-questions@freebsd.org Subject: Re: Resetting user password in cron Message-ID: <200907161714.07910.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> 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 Thursday 16 July 2009 16:39:51 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/ Take a look at pw(8), specifically usermod command, -h and -H option. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907161714.07910.mel.flynn%2Bfbsd.questions>