Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 07:49:02 -0500
From:      "Peter C. Lai" <sirmoo@cowbert.2y.net>
To:        Oleg Tarasov <subscriber@osk.com.ua>
Cc:        freebsd-security@FreeBSD.org
Subject:   Re: PAM fails to change user password
Message-ID:  <20050325124902.GF1856@cowbert.2y.net>
In-Reply-To: <1971222958.20050325100948@osk.com.ua>
References:  <2B21B68AD68D364A8B241C972772CE110A8CB6@ms08.mse3.exchange.ms> <1971222958.20050325100948@osk.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 25, 2005 at 10:09:48AM +0200, Oleg Tarasov wrote:
> Hello,
> 
> Jason L. Schwab <jlschwab@jlschwab.com> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050325124902.GF1856>