Re: Resetting user password in cron

2009-07-17 Thread Lowell Gilbert
Glen Barber glen.j.bar...@gmail.com writes: On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijnj...@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

Resetting user password in cron

2009-07-16 Thread Jos Chrispijn
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 ___

Re: Resetting user password in cron

2009-07-16 Thread Glen Barber
On Thu, Jul 16, 2009 at 8:39 PM, Jos Chrispijnj...@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

Re: Resetting user password in cron

2009-07-16 Thread Josef Grosch
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

Re: Resetting user password in cron

2009-07-16 Thread Mel Flynn
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),

Re: Resetting user password in cron

2009-07-16 Thread Tim Judd
On 7/16/09, 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/ Jos Chrispijn yes newpasswd | passwd