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
Subscribe to:
Post Comments (Atom)
0 comments