PAM fails to change user password
Peter C. Lai
sirmoo at cowbert.2y.net
Fri Mar 25 04:49:03 PST 2005
On Fri, Mar 25, 2005 at 10:09:48AM +0200, Oleg Tarasov wrote:
> Hello,
>
> Jason L. Schwab <jlschwab at 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 at osk.com.ua
>
> _______________________________________________
> freebsd-security at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe at 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/
More information about the freebsd-security
mailing list