Computing.Net > Forums > Solaris > config

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

config

Reply to Message Icon

Name: raj
Date: February 23, 2001 at 04:55:57 Pacific
Comment:

hi
i want to configure nis in my solaris7 how can i ? pl. send ur suggestions

regards

raj



Sponsored Link
Ads by Google

Response Number 1
Name: Norman
Date: February 23, 2001 at 06:09:40 Pacific
Reply:

setup NIS master server:
you should have domain name. use `domainname` or check the file /etc/defaultdomain
collect all the name information files. Default directory is /etc. You can save these files in the other directory, but after that, you should edit /var/yp/Makefile,
change the DIR and PWDIR variables. Then
# cp /etc/nsswitch.files /etc/nsswitch.conf
# cd /var/yp
# ypinit -m
# cp /etc/nsswitch.nis /etc/nsswitch.conf
# /usr/lib/netsvc/yp/ypstart

setup NIS client:
# ypinit -c

setup NIS slave:
make sure it is a NIS client already.
add all the names and IP addresses to /etc/hosts
# ypinit -s master_server_name
# /usr/lib/netsvc/yp/ypstart

that it. For detail, check the Solaris Naming Setup and Configuration Guide on docs.sun.com

Good luck


0

Response Number 2
Name: sadiq
Date: February 19, 2002 at 14:37:31 Pacific
Reply:

I don't have the /var/yp/Makefile, how can I change the path.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: config

How can I config my solaris 8 x86 PC ? www.computing.net/answers/solaris/how-can-i-config-my-solaris-8-x86-pc-/825.html

how to config multi IP for one NIC ? www.computing.net/answers/solaris/how-to-config-multi-ip-for-one-nic-/2273.html

more network config problems for you www.computing.net/answers/solaris/more-network-config-problems-for-you-/1139.html