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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.