12-14-2007
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.
10 More Discussions You Might Find Interesting
1. Red Hat
I would like to know how to configure a Redhat 9.0 as NIS+ client. I have seen the post of larry, but it is not enough information for me to do the configuration. Could anyone tell me how to do it? Please help!
Thank you! (3 Replies)
Discussion started by: alexhon
3 Replies
2. Linux
Hi All
i want to configure NIS on RedHat 9.0. pls help me i need the configure file
pls mail this configure files
with regards
sudeendra (0 Replies)
Discussion started by: sudeendra
0 Replies
3. AIX
Hi everyone.
Has anyone here used AIX as a NIS client to a Linux server?
If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients.
On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies
4. AIX
All,
I have just started using AIX (Solaris admin here) and I need to setup my new AIX box as an NIS client. Where would I do this?
Thanks for the help!
-Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies
5. Solaris
Hi....,
I'm having two intel system.both the system i installed sun sol 10.now i wan't to configure NIS .Pls tell me step by step configuration for server and client.pls Help me any body......... :mad:
Rgds,
Jay (4 Replies)
Discussion started by: rjay.com
4 Replies
6. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
7. Solaris
Friends n Gurus
I am creating an NIS farm(Solaris only) in my office. I have successfully configured the NIS master and slave servers and a few NIS clients.
However i am not able to log into a few of my NIS clients. The commands "ypcat passwd" is displaying the NIS user. However when i try to... (5 Replies)
Discussion started by: Renjesh
5 Replies
8. Solaris
Hi ,
I have installed solaris 10 on x 86 architecture. Now i want to configure this system as Proxy Server. I am new to the solaris. Please help me how can i configure this. Which packages or patches are needed ? or Which files have to be modify ?
Please help me to resolve.
Thanks and... (0 Replies)
Discussion started by: raviraj001
0 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory.
... (3 Replies)
Discussion started by: samnyc
3 Replies
10. Shell Programming and Scripting
Dear all,
I am using solaris 10 OS.
I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error.
Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Discussion started by: bhargav90
2 Replies
YPSET(8) BSD System Manager's Manual YPSET(8)
NAME
ypset -- tell ypbind(8) which NIS server process to use
SYNOPSIS
ypset [-h host] [-d domain] server
DESCRIPTION
ypset tells the ypbind(8) process on the current machine which NIS server process to communicate with. If server is down or is not running a
NIS server process, it is not discovered until a NIS client process attempts to access a NIS map, at which time ypbind(8) tests the binding
and takes appropriate action.
ypset is most useful for binding a NIS client that is not on the same broadcast network as the closest NIS server, but can also be used for
debugging a local network's NIS configuration, testing specific NIS client programs, or binding to a specific server when there are many
servers on the local network supplying NIS maps.
The options are as follows:
-h host
Set the NIS binding on host instead of the local machine.
-d domain
Use the NIS domain domain instead of the default domain as returned by domainname(1).
SEE ALSO
domainname(1), ypcat(1), ypmatch(1), ypwhich(1), nis(8), ypbind(8), yppoll(8)
AUTHORS
Theo de Raadt
BSD
February 26, 2005 BSD