how to include in Linux NIS update from solaris
please help, we have a NIS server running on solaris 2.6 and i have put up a fedora core 4 for apache...
i wanted to include my fedora core in updating the NIS from our NIS server after executing ypmake... how to? thanks. |
Your question doesn't make much sense -- what is it you're trying to do? If you just want the Fedora sdystem to authenticate via NIS, then you just need to edit /etc/yp.conf to add your NIS domain and server (make sure the IP of the server is listed in /etc/hosts -- I don't think NIS will do a DNS lookup). The line would look like:
Code:
domain <mydomain> server <name of SunOS system> If you want to migrate users from the Fedora system onto NIS you'll need to add the user/groups to the passwd and group files on the NIS server. Also, I don 't like having NIS enabled on Web servers. The reason being is that anyone who exploits a hole in a Web application can easily get your passwd file and set to work cracking it (NIS should only be used on completely trusted machines). Granted that they can do the same by rooting a system on your network, but that's generally a lot harder than finding a hole in some Web applicationm (at least if you're up to date with patching and have sane security practices). |
All times are GMT -5. The time now is 05:40 AM. |