Remove NIS+ client from server
# rm -r /var/nis/*
# rm /etc/defaultdomain; rm /etc/.rootkey
# cp /etc/nsswitch.conf /etc/nsswitch.conf.bck
# cp /etc/nsswitch.files /etc/nsswitch.conf
# init 6
Install NIS+ client on server
# domainname test.ind
# domainname > /etc/defaultdomain
# cp /etc/nsswitch.conf.bck /etc/nsswitch.conf
# nisinit -c -H master
# ps -ef|grep keyserv
# kill -9 PID_keyserv
# keyserv
# keylogin -r
# init 6
Add and remove NIS+ Client
Monday, July 5, 2010
at
7:14 AM
| Posted by
Elumalai M
Posted In NIS | 0 comments |
Subscribe to:
Posts (Atom)