[98095] in RedHat Linux List

home help back first fref pref prev next nref lref last post

PAM_pwdb problem

daemon@ATHENA.MIT.EDU (Nathan J Yourchuck)
Fri Nov 6 14:54:19 1998

Date: Fri, 6 Nov 1998 12:55:58 -0600 (CST)
From: Nathan J Yourchuck <Nathan.J.Yourchuck@cdc.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


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
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.


home help back first fref pref prev next nref lref last post