How to Configure NIS Client for Solaris7 x86

HI Unix Gurus

i am new to Solaris OS, i want to configure NIS CLient for Solaris 7 x86 Machine. i need what are the step and how to configure it in that machine.. please let me know

Thanks in Advance

Regards
..kiruba..

Have you tried the sys-unconfig approach?

Otherwise you will have a fair few config files to go through, /etc/nsswitch.conf for starters.

Hi, i did not get Solaris 7 before. This is for Solaris 9 , but may still help.

1) edit /etc/inet/hosts to add an entry of the NIS server

2) execute `domainname` to set local NIS domain to the domain of the NIS server.

3) edit /etc/defaultdomain to set local NIS domain to the domain of the NIS server.

4) initialize the system, ypint -c , selectthe NIS master server,

5) cp /etc/nsswitch.nis to /etc/nsswitch.conf

6) run /usr/lib/netsvc/ypstart

May need a reboot after defautdomain set.

And this could used to configure NIS client in the same subnet with the NIS server. May not work if not in the same subnet.

Sun's documents will help more.