From owner-freebsd-bugs Thu Jul 11 12:31:54 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DA2137B401; Thu, 11 Jul 2002 12:31:51 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23D1A43E5E; Thu, 11 Jul 2002 12:31:51 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020711193150.TEKM8262.rwcrmhc52.attbi.com@blossom.cjclark.org>; Thu, 11 Jul 2002 19:31:50 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g6BJVoJK040699; Thu, 11 Jul 2002 12:31:50 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g6BJVoMG040698; Thu, 11 Jul 2002 12:31:50 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Thu, 11 Jul 2002 12:31:50 -0700 From: "Crist J. Clark" To: Doug Barton Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/39919: chpass no longer edits existing entries Message-ID: <20020711193150.GB40486@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <200207062016.g66KGZhN050936@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207062016.g66KGZhN050936@freefall.freebsd.org> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The included patch fixes your problem, but leaves you open to locking problems. You need to load any existing password entry into old_pw. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message