Receiving "yphelper: Cannot open /etc/gshadow" when running "make -C /var/yp" (NIS)
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
