Configuring NIS Client
Configuring NIS Client
Edit /etc/yp.conf:
ypserver localhost
Set NIS domain name:
/bin/domainname example.com
Start NIS client:
service portmap start service ypbind start
Configure autostart:
chkconfig --add ypbind
Verify NIS client:
rpcinfo -u localhost ypbind program 100007 version 1 ready and waiting program 100007 version 2 ready and waiting
Edit /etc/nsswitch.conf:
passwd: nis files