From owner-freebsd-security@FreeBSD.ORG Fri Mar 25 12:49:03 2005 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4336D16A4CE for ; Fri, 25 Mar 2005 12:49:03 +0000 (GMT) Received: from cowbert.2y.net (d46h180.public.uconn.edu [137.99.46.180]) by mx1.FreeBSD.org (Postfix) with SMTP id ADD8643D1F for ; Fri, 25 Mar 2005 12:49:02 +0000 (GMT) (envelope-from sirmoo@cowbert.2y.net) Received: (qmail 6504 invoked by uid 1001); 25 Mar 2005 12:49:02 -0000 Date: Fri, 25 Mar 2005 07:49:02 -0500 From: "Peter C. Lai" To: Oleg Tarasov Message-ID: <20050325124902.GF1856@cowbert.2y.net> References: <2B21B68AD68D364A8B241C972772CE110A8CB6@ms08.mse3.exchange.ms> <1971222958.20050325100948@osk.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1971222958.20050325100948@osk.com.ua> User-Agent: Mutt/1.5.6i X-Mailman-Approved-At: Fri, 25 Mar 2005 13:56:22 +0000 cc: "Jason L. Schwab" cc: freebsd-security@FreeBSD.org Subject: Re: PAM fails to change user password X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 12:49:03 -0000 On Fri, Mar 25, 2005 at 10:09:48AM +0200, Oleg Tarasov wrote: > Hello, > > Jason L. Schwab wrote: > > > Tarasov Oleg; > > > > > (as root) > > # pwd_mkdb /etc/master.passwd > > > It seems that the actual database file is fine, but the plaintext > > versions think that they are corrupt, this should solve your issue. > > > Then try changing the users password, it should be successful. > > > -Jason > > Thanx, that was the problem. Actually I changed master.passwd by hands > and forgot to use pwd_mkdb. My mistake, a lesson to me. Sorry for > inconfidence. You CAN change master.passwd by hand, if you use vipw(8). vipw(8) will sync the two databases for you. > > > > -- > Best regards, > Oleg Tarasov mailto:subscriber@osk.com.ua > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/