Resetting user password in cron

Josef Grosch jgrosch at MooseRiver.com
Fri Jul 17 01:10:13 UTC 2009


On Fri, Jul 17, 2009 at 02:39:51AM +0200, 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/
> 
> Jos Chrispijn


man pw
man chpass


Josef

-- 
Josef Grosch           | Another day closer to a | FreeBSD 7.2
jgrosch at MooseRiver.com |   Micro$oft free world  | Berkeley, Ca.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090717/9b4adfdb/attachment.pgp


More information about the freebsd-questions mailing list