Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypwhich(1)

ypserv(1M)

ypfiles(4)

ypservers(4)

ypset(1M)                                                         ypset(1M)

NAME
     ypset - link NIS daemons with one another

SYNOPSIS
     /usr/sbin/ypset [-d domain] [-h host] server

DESCRIPTION
     The ypset command binds

     -  the ypbind daemon of a client and

     -  the ypserv daemon of a specific NIS server.

     Once this relationship is established, the ypbind daemon of the client
     can request NIS services from the ypserv daemon of the NIS server for
     a domain.

     Normally, the ypbind daemon automatically looks for any available
     ypserv daemon in order to request Network Information Service ser-
     vices.

     The ypset command is, for example, useful for testing the binding of a
     client to a certain NIS server.

     The ypbind daemon on the client and the ypserv daemon on the NIS
     server must be active. They are normally activated at system startup
     from the file /etc/init.d/yp. ypbind must have been started with the
     option -ypset.

     The fact that the ypserv daemon on a NIS server is not active is not
     normally discovered. It would only be noticed if a client tried to
     request NIS services for a domain from this ypserv daemon.

     If the client does not receive the NIS services, the binding set by
     means of the ypset command is tested by ypbind. If the binding is
     faulty, ypbind tries to get the requested NIS service for the domain
     from a different ypserv daemon.

     This can be the reason why the name of a different NIS server is out-
     put by the ypwhich command than was specified with the ypset command.

OPTIONS
     -h host means that the binding is to be done for a specific host. host
             may either be the name or Internet address of the host.

             The default value for host is the Internet address of the
             local host.

     -d domain
             means that the binding is to be done for a domain other than
             the current domain. domain is the name of the other domain.




Page 1                       Reliant UNIX 5.44                Printed 11/98

ypset(1M)                                                         ypset(1M)

             The default value is the name output when the domainname com-
             mand is issued.

     server  indicates the NIS server to bind to and can be specified as a
             name or as an Internet address.

             If the name of the NIS server is specified, the ypset command
             attempts to convert the name into the corresponding Internet
             address.

             This can only be done, however, if the host has a current
             valid binding to a NIS server for the domain in question.

             It is advisable to specify the Internet address of the NIS
             server.

EXAMPLE
     The system administrator would like to bind the local host to the NIS
     server mountainview.

     dublin

     ypset mountainview

     ypwhich

     mountainview

     The NIS services for the local host are now provided by the host moun-
     tainview.

SEE ALSO
     ypwhich(1), ypserv(1M), ypfiles(4), ypservers(4).





















Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026