[5074] in RedHat Linux List

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

RE: passwd: User not known to the underlying authentication module (new)

daemon@ATHENA.MIT.EDU (John H. Smith)
Mon Nov 18 21:20:49 1996

From: "John H. Smith" <jsmith@iquest.net>
To: "redhat-list@redhat.com" <redhat-list@redhat.com>,
        "'Skull'"
	 <skull@yakko.cs.wmich.edu>
Date: Mon, 18 Nov 1996 21:17:50 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I had the same problem under same circumstances, turned out to be SUID bit missing on the
passwd program.  I did nothing to my knowledge cause this. But the following command
issued as root fixed it.

chmod o+s /usr/bin/passwd



----------
From:  Skull[SMTP:skull@yakko.cs.wmich.edu]
Sent:  Monday, November 18, 1996 7:35 PM
To:  redhat-list@redhat.com
Subject:  Re: passwd: User not known to the underlying authentication  module (new) 

>>I know this has been asked before, but the solution I found in the mailing
>>lists
>>does not work for me... as any non-root user trying to run passwd, it
gives me
>>a 'passwd: User not known to the underlying authentication module' error.
>>This is
>>from a fresh Redhat 4.0 with all updates installed, and I still get this
>>error.
>>I know for sure I have the latest pam... any ideas anyone?? redhat crew????
>
>Please post the output of
>grep '^passwd' /etc/pam.conf
>ls -l /etc/passwd
>ls -l /etc/shadow
>grep <non-root-user-name-that-doesn't-work> /etc/passwd
>
>Thanks!
>
>michaelkjohnson

Below is the responses to what you desired Michael..

Darron

Script started on Mon Nov 18 19:25:28 1996
[root@mailhost dynacom]# grep '^passwd' /etc/pam.conf
passwd	auth       required	/lib/security/pam_unix_auth.so	
passwd	account    required	/lib/security/pam_unix_acct.so	
passwd	password   required	/lib/security/pam_unix_passwd.so	
[root@mailhost dynacom]# ls -l /etc/passwd
-rw-r--r--   1 root     root         2853 Nov 18 16:23 /etc/passwd
[root@mailhost dynacom]# ls -l /etc/shadow
ls: /etc/shadow: No such file or directory
[root@mailhost dynacom]# grep dchristian /etc/passwd
dchristian:oXGQ9zOyUU2MI:500:500:Darron Christian,,,,:/home/dynacom:/bin/bash
[dchristian@mailhost dynacom]$ passwd
passwd: User not known to the underlying authentication module
Script done on Mon Nov 18 19:27:55 1996

while in script typing passwd gave me this,

[dchristian@mailhost dynacom]$ passwd
passwd: cannot retrieve user's name


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null




--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


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