[98441] in RedHat Linux List
Re: PAM_pwdb problem
daemon@ATHENA.MIT.EDU (Jan Carlson)
Mon Nov 9 04:51:21 1998
Date: Mon, 09 Nov 1998 04:26:51 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Nathan J Yourchuck wrote:
> Hello,
>
> I am having trouble adding any new users to my system. I am running Redhat
> 5.1. I have added users on other 5.1 machines before, but for some reason
> things got screwed up when I tried to add users to this box.
>
> The first time I tried to add the user I did this:
> 1) adduser njy
> 2) vi /etc/passwd and copied root's password field to njy's password
> field
> 3) tried to login as njy and was denied
> 4) read intructions
> 5) tried to do a "passwd njy" (from root)
> 6) I still couldn't login
> 7) added a new user "frank"
> 8) "passwd frank" and set the password
> 9) I can't login as frank either
> 10) I tried playing around with pwconv and it didn't work.
> 11) I copied a passwd file from another Redhat installation and can't
> login as any of those users either (except root).
>
> Here is the message from /var/log/messages :
> Nov 1 11:55:37 localhost PAM_pwdb[448]: get passwd; pwdb: structure is no
> longer valid
Ok, it says your password/shadow files are not consistent.
Try pwunconv (moves passwords from shadow to passwd; removes shadow),
then pwconv (creates a shadow file and moves passwords into it.).
Try to avoid editing passwd or shadow...
>
> Nov 1 11:55:38 localhost login[448]: FAILED LOGIN 1 FROM (null) FOR njy,
> Authentication service cannot retrieve authentication info.
>
> Does anyone know how to reset the pwdb information? I have already tried
> reinstalling the following RPMS (which did not help):
>
> >pam-0.64-2.i386.rpm
> >pamconfig-0.51-5.noarch.rpm
> >passwd-0.50-11.i386.rpm
> >pwdb-0.54-8.i386.rpm
>
> thanks,
> Nathan
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
--
Jan Carlson
janc@iname.com Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.