What is the situation that "pam_localuser.so" fails and "pam_succeed_if.so uid < 500 quiet" succeeds in /etc/pam.d/password-auth ?

Solution Verified - Updated -

Issue

  • Here is a default password-auth configuration.
[root@rhel6 ~]# grep ^account /etc/pam.d/password-auth
account     required      pam_unix.so
account     sufficient    pam_localuser.so
account     sufficient    pam_succeed_if.so uid < 500 quiet
account     required      pam_permit.so
  • What is the situation that "pam_localuser.so" fails and "pam_succeed_if.so uid < 500 quiet" succeeds?

Environment

  • Red Hat Enterprise Linux 6
  • pam

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content