1updaters(4)                      File Formats                      updaters(4)
2
3
4

NAME

6       updaters - configuration file for NIS updating
7

SYNOPSIS

9       /var/yp/updaters
10
11

DESCRIPTION

13       The  file  /var/yp/updaters  is a makefile (see make(1S)) which is used
14       for updating the Network Information Service (NIS) databases. Databases
15       can  only  be updated in a secure network, that is, one that has a pub‐
16       lickey(4) database. Each entry in the file is a make target for a  par‐
17       ticular  NIS  database.  For example, if there is an NIS database named
18       passwd.byname that can be updated, there should be a make target  named
19       passwd.byname in the updaters file with the command to update the file.
20
21
22       The  information  necessary  to make the update is passed to the update
23       command through standard input. The  information  passed  is  described
24       below (all items are followed by a NEWLINE except for 4 and 6):
25
26       1.    Network name of client wishing to make the update (a string).
27
28
29       2.    Kind of update (an integer).
30
31
32       3.    Number of bytes in key (an integer).
33
34
35       4.    Actual bytes of key.
36
37
38       5.    Number of bytes in data (an integer).
39
40
41       6.    Actual bytes of data.
42
43
44
45       After  receiving  this  information through standard input, the command
46       to update the  particular  database  determines  whether  the  user  is
47       allowed  to  make  the  change.   If  not,  it  exits  with  the status
48       YPERR_ACCESS. If the user is allowed to make the  change,  the  command
49       makes  the   change  and  exits with a status of zero. If there are any
50       errors that may prevent the  updaters from making the change, it should
51       exit  with  the status that matches a valid NIS error code described in
52       <rpcsvc/ypclnt.h>.
53

FILES

55       /var/yp/updaters    The makefile used for updating the  NIS databases.
56
57

SEE ALSO

59       make(1S), rpc.ypupdated(1M), publickey(4)
60

NOTES

62       The Network Information Service (NIS) was formerly known as Sun  Yellow
63       Pages  (YP).   The  functionality of the two remains the same; only the
64       name has changed. The name Yellow Pages is a  registered  trademark  in
65       the  United  Kingdom  of British Telecommunications plc, and may not be
66       used without permission.
67
68
69
70SunOS 5.11                        24 Oct 1996                      updaters(4)
Impressum