From owner-freebsd-questions@FreeBSD.ORG Fri Jul 17 01:10:13 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 77E8E106564A for ; Fri, 17 Jul 2009 01:10:13 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: from gdead.mooseriver.com (gdead.mooseriver.com [205.166.121.45]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA2D8FC16 for ; Fri, 17 Jul 2009 01:10:13 +0000 (UTC) (envelope-from jgrosch@mooseriver.com) Received: by gdead.mooseriver.com (Postfix, from userid 2010) id 26E5261C30; Thu, 16 Jul 2009 17:52:38 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gdead.mooseriver.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, J_CHICKENPOX_53 autolearn=no version=3.2.5 Received: from mooseriver.com (berkeley.mooseriver.com [75.61.201.134]) by gdead.mooseriver.com (Postfix) with ESMTP id A6ED161C1F; Thu, 16 Jul 2009 17:52:36 -0700 (PDT) Received: by mooseriver.com (Postfix, from userid 200) id 6D4A41D7834; Thu, 16 Jul 2009 17:52:36 -0700 (PDT) Date: Thu, 16 Jul 2009 17:52:36 -0700 From: Josef Grosch To: Jos Chrispijn Message-ID: <20090717005236.GA93197@mooseriver.com> References: <4A5FC857.7020005@webrz.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <4A5FC857.7020005@webrz.net> User-Agent: Mutt/1.4.2.3i Organization: Moose River, LLC Cc: FreeBSD Questions Subject: Re: Resetting user password in cron X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgrosch@MooseRiver.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 01:10:13 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > password, which I would not like to do in a cron job. Thanks/ >=20 > Jos Chrispijn man pw man chpass Josef --=20 Josef Grosch | Another day closer to a | FreeBSD 7.2 jgrosch@MooseRiver.com | Micro$oft free world | Berkeley, Ca. --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFKX8tUy8prLS1GYSERAm2sAJ99vQ3aZK5vnfdce3YM0n8gecHGbACgjJjX lW7eUAkSGxeeAN82NQzqZno= =+dJj -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--