Receiving "yphelper: Cannot open /etc/gshadow" when running "make -C /var/yp" (NIS)

Solution Unverified - Updated -

Issue

When running the command make -C /var/yp the output is as follows:

$ make -C /var/yp/
make: Entering directory `/var/yp'
gmake[1]: Entering directory `/var/yp/STATION11.EXAMPLE.COM'
Updating passwd.byname...
Updating passwd.byuid...
Updating group.byname...
yphelper: Cannot open /etc/gshadow
Updating group.bygid...
yphelper: Cannot open /etc/gshadow
Updating hosts.byname...
Updating hosts.byaddr...
Updating rpc.byname...
Updating rpc.bynumber...
Updating services.byname...
Updating services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating mail.aliases...
Updating shadow.byname...
gmake[1]: Leaving directory `/var/yp/STATION11.EXAMPLE.COM'
make: Leaving directory `/var/yp'

Environment

  • Red Hat Enterprise Linux 5

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