1MKNETID(8)                   NIS Reference Manual                   MKNETID(8)
2
3
4

NAME

6       mknetid - generate data for netid map
7

SYNOPSIS

9       /usr/lib/yp/mknetid [-q] [-h hosts] [-p passwd] [-g group] [-d domain]
10                           [-n netid]
11
12       /usr/lib/yp/mknetid --version
13

DESCRIPTION

15       mknetid generates the netid.byname NIS map from the contents of the
16       group(5), passwd(5), hosts(5) and netid files. It checks for multiple
17       entrys of netids and warn for them or filters them out. It is only
18       called by /var/yp/Makefile when rebuilding the NIS map.
19

OPTIONS

21       -q
22           This flag turns on 'quiet' mode, don't print a warning message when
23           finding an duplicate netid entry.
24
25       -h hosts
26           The -h flag can be used to specify the use of another hosts file
27           than the default /etc/hosts.
28
29       -p passwd
30           The -p flag can be used to specify the use of another passwd file
31           than the default /etc/passwd.
32
33       -g group
34           The -g flag can be used to specify the use of another group file
35           than the default /etc/group.
36
37       -n netid
38           The -n flag can be used to specify the use of another netid file
39           than the default /etc/netid.
40
41       -d domain
42           The mknetid command uses the system domainname by default. If it is
43           not set or you whish to override it, you must use the -d parameter.
44
45       --version
46           Prints the version number
47

FILES

49       /etc/group
50           groups file
51
52       /etc/hosts
53           hosts database
54
55       /etc/netid
56           netname database
57
58       /etc/passwd
59           password file
60

SEE ALSO

62       passwd(8), group(5), hosts(5), passwd(5)
63

AUTHOR

65       mknetid was written by Thorsten Kukuk <kukuk@linux-nis.org>.
66
67
68
69NIS Reference Manual              01/28/2021                        MKNETID(8)
Impressum