[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PAM fails to change user password
- Subject: PAM fails to change user password
- From: sirmoo at cowbert.2y.net (Peter C. Lai)
- Date: Fri Mar 25 05:56:53 2005
On Fri, Mar 25, 2005 at 10:09:48AM +0200, Oleg Tarasov wrote:
> Hello,
>
> Jason L. Schwab <jlschwab_(_at_)_jlschwab_(_dot_)_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_(_dot_)_com_(_dot_)_ua
>
> _______________________________________________
> freebsd-security_(_at_)_freebsd_(_dot_)_org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-security
> To unsubscribe, send any mail to "freebsd-security-unsubscribe_(_at_)_freebsd_(_dot_)_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/
Visit your host, monkey.org