| |
NIS client configuration
Clients query the NIS server every time they need information.
NIS client files come with the NIS package
To see if a client can access the NIS services on the NIS server,
for example node18, run rpcinfo on the client host:
Put the NIS domain name into /etc/defaultdomain
In file /etc/yp.conf, include info about
the NIS domain and server, for example:
Make sure the server host name and IP are included in file /etc/hosts.
Remove all the accounts and groups in /etc/passwd, /etc/shadow, and /etc/group, which are supposed to be inquered from the NIS server.
Modify /etc/passwd and /etc/group as follows:
in the end of /etc/passwd, add
in the end of /etc/group, add
In file /etc/nsswitch.conf, there should be the following entries:
In file /etc/default/nis
Start ypbind:
|
|