[sudo-users] sudo 1.8.7 on RHEL6: unable to establish credentials: User not known to the underlying authentication module

Michael Ströder michael at stroeder.com
Thu Jul 11 10:29:17 MDT 2013


On Thu, 11 Jul 2013 09:13:27 -0600 "Todd C. Miller" <Todd.Miller at courtesan.com>
wrote
> On Thu, 11 Jul 2013 16:06:17 +0200, "Michael =?UTF-8?B?U3Ryw7ZkZXI=?=" wrote:
> 
> > [myusername at rhel5test ~]$ sudo -i
> > [..]
> > [sudo] password for myusername: 
> > sudo: unable to establish credentials: User not known to the underlying
> > authentication module
> 
> This is due to a pam_setcred() failure.  Older versions of sudo did
> not check the return value due to bugs in old versions of Linux
> PAM.
> 
> The following patch reverts to the pre-1.8.7 behavior.

Thanks for your patch.

But this sound a bit like a PAM system configuration error?
If yes, I'd prefer to fix that instead of patching the sudo source code.
If no, is that something which should be fixed in sudo's code?

As said sudo 1.8.7 behaves like expected by asking for the user's password also
rejecting wrong password. Only the message is a bit irritating.

Any clue where to look for it in /etc/pam.d?

Ciao, Michael.




More information about the sudo-users mailing list