Root cannot authenticate when nscd is running.

Solution Verified - Updated -

Issue

While attempting to authenticate as root while nscd is running, the login fails. When this failure occurs, the errors below are seen in /var/log/nscd.log

Fri 19 Aug 2016 11:10:07 AM EDT - 4865: checking for monitored file `/etc/passwd': Permission denied
Fri 19 Aug 2016 11:10:20 AM EDT - 4865: checking for monitored file `/etc/resolv.conf': Permission denied
Fri 19 Aug 2016 11:10:20 AM EDT - 4865: checking for monitored file `/etc/hosts': Permission denied

Environment

  • Red Hat Enterprise Linux
  • nscd

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