From owner-freebsd-bugs Wed Mar 13 4:31:37 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id BB21837B417; Wed, 13 Mar 2002 04:31:32 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 13 Mar 2002 12:31:31 +0000 (GMT) Date: Wed, 13 Mar 2002 12:31:28 +0000 From: David Malone To: cjclark@alum.mit.edu Cc: Dima Dorfman , billf@FreeBSD.ORG, irys@irc.pl, freebsd-bugs@FreeBSD.ORG Subject: Re: i386/35816: no one can change password, because "passwd DB is locked" Message-ID: <20020313123128.GA99103@walton.maths.tcd.ie> References: <20020313025449.R29705@blossom.cjclark.org> <20020313112322.C0F1B3E31@bazooka.trit.org> <20020313035240.S29705@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020313035240.S29705@blossom.cjclark.org> User-Agent: Mutt/1.3.25i 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 On Wed, Mar 13, 2002 at 03:52:40AM -0800, Crist J. Clark wrote: > 4) chpass re-reads and locks the master.passwd (note that user > interaction has finished). > > 5) chpass checks that the changes are sane (that the user still > exists, that fields that the user cannot change are not reverted, > etc.). At this stage it may be best to bail if any of that user's fields have changed - that way you're least likely to get unexpected interactions. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message