Q: How do I restore a system to the default NetInfo set-up?
Q: How do I undo a machine that has been made a NetInfo Configuration Server?
A: You need to do three things: obtain a default NetInfo database, an original hostconfig file, and an original hosts file.
csh cd /etc/netinfo
foreach db (*.nidb)
mv ${db} ${db}-old
end
cp -rp /usr/template/client/etc/netinfo/local.nidb .
cd ..
mv hostconfig hostconfig.old
mv hosts hosts.old
cp -p /usr/template/client/etc/hostconfig .
cp -p /usr/template/client/etc/hosts .
halt DISCONNECT THE COMPUTER FROM THE NETWORK
REBOOT
NOTE that this is NOT sufficient for undoing a clone server! See ../NEXTSTEP/NetInfo/undoing_a_netinfo_clone_server.rtf for how to undo a clone configuration server.
Warning
Don't change any values in the localhost and broadcasthost entries in the machines directory of the local NetInfo domain. Don't edit the localhost address in /etc/hosts--the localhost address is reserved and is not to be altered.