Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Configuration > Issue <<  358 of 606 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 5699
Last update: 06-08-05
Issue:
How can I set NIS to use another source password file instead of /etc/passwd?
Resolution:

You can edit the file /var/yp/Makefile and from there, configure NIS to use another source password file. The directory for passwd, group, and shadow is defined by YPPWDDIR, the others are YPSRCDIR.

Alternatively, you can edit the /etc/sysconfig/yppasswdd file and uncomment the line listed below:

PASSWDFILE=/etc/passwd

and change it to a new source file, for example:

PASSWDFILE=/etc/passwd.nis

Take note that in doing so, the normal tools used in managing the password file such as passwd, chfn, adduser will cease to work although yppasswd, ypchsh and ypchfn should retain functionality.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Configuration > Issue <<   358  of  606  >>