- Edit /etc/defaultdomain
Set the new domain used when booting up :
mydomain.intra - Set current domain name
> domainname mydomain.intra - Add your NIS servers to /etc/hosts
- Set your client as a NIS client :
> /usr/sbin/ypinit -c
Add your NIS servers here (eg : nisserv1.mydomain.intra). - Bind your client to your NIS server :
> ypbind - Check your NIS server binding :
> ypwhich
nisserv1.mydomain.intra - Reboot
Important Be sure you did 1. ok, otherwise you won't be able to boot anymore (boot -s for single user mode, and then correct your /etc/defaultdomain file, then reboot again)
No comments:
Post a Comment