NCSD caches users as invalid until the cache is cleared

Solution Verified - Updated -

Issue

  • when the end users reboot their Linux Workstations or servers, they system will fail to properly authenticate against NIS. Then the users are blocked because the NSCD cache shows them as invalid.
[rakkumar@example ~] $ sudo su - testuser
su: user melicher does not exist

[rakkumar@example ~] $ nscd-clear
ADC_SCRIPT: clear-nscd-cache - Cleared NSCD hosts
ADC_SCRIPT: clear-nscd-cache - Cleared NSCD passwd
ADC_SCRIPT: clear-nscd-cache - Cleared NSCD group

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • NSCD
  • glibc

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