ypinit is often stashed in an out of the way place like /usr/lib/yp. Do "locate ypinit" to find it. Also, you should modify the Makefile ypinit uses to not use the default files in /etc. but instead set up the passwd, group, netinfo, etc. map files somewhere else and use them. The reason for this is that you do not want the root exported over NIS ... that's not good for security. In general, NIS isn't terribly secure, but it's easier than LDAP to get working right and does the job fairly well. Just be sure you have a good firewall and set your NIS securenets file properly.
|