tailieunhanh - Managing NFS and NIS 2nd phần 2

Sống cuộc gọi hệ thống execve trong và dựa trên các định dạng nhị phân có sẵn khác nhau để thực sự giải thích các dữ liệu nhị phân được tìm thấy trong các tập tin thực thi. Các định dạng nhị phân quan trọng nhất hiện nay là ELF, được thực hiện bởi . hỗ trợ việc thực hiện các tập tin giải thích. | Managing NFS and NIS corruption at best it confuses procedures that contact the NIS master such as map transfers and NIS password file updates. Now enable NIS in so that processes on your NIS master host can use NIS for all of its name service accesses newmaster cp etc etc If you are running Solaris 8 and if you think you will ever use the sec dh option with NFS then it would be an excellent idea to change the entry for publickey in to publickey nis The reason for this step is that the Solaris 8 utilities that manipulate the publickey map get confused if there are multiple database sources in the publickey entry of . You should do this on NIS slaves and NIS clients as well. Once ypinit finishes and is set up to use NIS you should start the NIS service manually via the ypstart script or by rebooting the server host. In Solaris the relevant part of the boot script etc S71rpc normally looks like this Start NIS YP services. The ypstart script handles both client and server startup whichever is appropriate. if -x usr lib netsvc yp ypstart then usr lib netsvc yp ypstart rpcstart fi Assuming you opt to start the NIS service manually you would do newmaster usr lib netsvc yp ypstart As the comment in S71rpc says the ypstart script handles the case when the host is an NIS server or NIS client or both. Both S71rpc and ypstart came with the system when it was installed and normally won t need modifications. The logic in ypstart may require modifications if a server is a client of one domain but serves another this situation sometimes occurs when a host is on multiple networks. Issues surrounding multiple domains are left for the next chapter. Test that your NIS server is working newmaster ypcat passwd noaccess NP 60002 60002 No Access User nobody4 NP 65534 65534 SunOS Nobody nobody NP 60001 60001 Nobody listen LK 37 4 Network Admin usr net nls daemon NP 1 1 nuucp NP 9 9 uucp Admin var .