From owner-freebsd-questions@FreeBSD.ORG Fri Jul 17 00:39:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52A41065670 for ; Fri, 17 Jul 2009 00:39:39 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 757AE8FC0C for ; Fri, 17 Jul 2009 00:39:39 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 55ABB50969 for ; Fri, 17 Jul 2009 02:39:38 +0200 (CEST) Received: from [10.10.10.71] (unknown [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id 39B8C5087F for ; Fri, 17 Jul 2009 02:39:38 +0200 (CEST) Message-ID: <4A5FC857.7020005@webrz.net> Date: Fri, 17 Jul 2009 02:39:51 +0200 From: Jos Chrispijn User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Subject: Resetting user password in cron X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 00:39:40 -0000 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