1ypset(8)                    System Manager's Manual                   ypset(8)
2
3
4

NAME

6       ypset - bind ypbind to a particular NIS server
7

SYNOPSIS

9       ypset [ -d domain ] [ -h hostname ] server
10

DESCRIPTION

12       In   order   to  run ypset, ypbind must be initiated with the -ypset or
13       -ypsetme options.  See ypbind(8).  ypset tells ypbind to get  NIS  ser‐
14       vices  for  the  specified domain from the ypserv(8) process running on
15       server.
16
17       In cases where several hosts on the local net are  supplying  NIS  ser‐
18       vices,  it  is possible for ypbind to rebind to another host even while
19       you attempt to find out if the ypset operation succeeded. For  example,
20       you can type:
21
22       example% ypset host1
23       example% ypwhich
24       host2
25       which  can  be  confusing. This is a function of the NIS subsys‐
26       tem's attempt to know always a running NIS  server,  and  occurs
27       when  host1 does not respond to ypbind because it is not running
28       ypserv (or is overloaded), and host2, running ypserv,  gets  the
29       binding.
30       Server  indicates the NIS server to bind to,  and must be speci‐
31       fied as a name or an IP address. This will work only if the node
32       has  a  current  valid  binding  for the domain in question, and
33       ypbind has been set to allow use  of  ypset.   In  most   cases,
34       server should be specified as an IP address.

OPTIONS

36       -d domain
37              Specify  a  domain  other  than  the  default  domain  as
38              returned by domainname(8).
39       -h hostname
40              Set the NIS binding on host hostname
41               instead of the local machine.

SEE ALSO

43       domainname(8),  ypbind(8),  ypcat(8),   ypmatch(1),   ypserv(8),
44       yppoll(8), ypwhich(1)

AUTHOR

46       ypset  is  part  of  the  yp-tools package, which was written by
47       Thorsten Kukuk <kukuk@linux-nis.org>.
48
49
50
51YP Tools 4.2.3                    April 2010                          ypset(8)
Impressum