United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
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.