summaryrefslogtreecommitdiff
path: root/mknetid/mknetid.8
blob: 6836e229a6026218ec856f9663cda82152ec8d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
.\"     Title: mknetid
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
.\"      Date: 09/26/2007
.\"    Manual: NIS Reference Manual
.\"    Source: NIS Reference Manual
.\"
.TH "MKNETID" "8" "09/26/2007" "NIS Reference Manual" "NIS Reference Manual"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
mknetid - generate data for netid map
.SH "SYNOPSIS"
.HP 20
\fB/usr/lib/yp/mknetid\fR [\-q] [\-h\ \fIhosts\fR] [\-p\ \fIpasswd\fR] [\-g\ \fIgroup\fR] [\-d\ \fIdomain\fR] [\-n\ \fInetid\fR]
.HP 20
\fB/usr/lib/yp/mknetid\fR \-\-version
.SH "DESCRIPTION"
.PP
\fBmknetid\fR
generates the
\fInetid\.byname\fR
NIS map from the contents of the group(5), passwd(5), hosts(5) and netid files\. It checks for multiple entrys of netids and warn for them or filters them out\. It is only called by
\fI/var/yp/Makefile\fR
when rebuilding the NIS map\.
.SH "OPTIONS"
.PP
\fB\-q\fR
.RS 4
This flag turns on \'quiet\' mode, don\'t print a warning message when finding an duplicate netid entry\.
.RE
.PP
\fB\-h\fR\fI hosts\fR
.RS 4
The
\fB\-h\fR
flag can be used to specify the use of another hosts file than the default
\fI/etc/hosts\fR\.
.RE
.PP
\fB\-p\fR\fI passwd\fR
.RS 4
The
\fB\-p\fR
flag can be used to specify the use of another passwd file than the default
\fI/etc/passwd\fR\.
.RE
.PP
\fB\-g\fR\fI group\fR
.RS 4
The
\fB\-g\fR
flag can be used to specify the use of another group file than the default
\fI/etc/group\fR\.
.RE
.PP
\fB\-n\fR\fI netid\fR
.RS 4
The
\fB\-n\fR
flag can be used to specify the use of another netid file than the default
\fI/etc/netid\fR\.
.RE
.PP
\fB\-d\fR\fI domain\fR
.RS 4
The
\fBmknetid\fR
command uses the system domainname by default\. If it is not set or you whish to override it, you must use the
\fB\-d\fR
parameter\.
.RE
.PP
\fB\-\-version\fR
.RS 4
Prints the version number
.RE
.SH "FILES"
.PP
\fI/etc/group\fR
.RS 4
groups file
.RE
.PP
\fI/etc/hosts\fR
.RS 4
hosts database
.RE
.PP
\fI/etc/netid\fR
.RS 4
netname database
.RE
.PP
\fI/etc/passwd\fR
.RS 4
password file
.RE
.SH "SEE ALSO"
.PP
\fBpasswd\fR(8),
\fBgroup\fR(5),
\fBhosts\fR(5),
\fBpasswd\fR(5)
.SH "AUTHOR"
.PP

\fBmknetid\fR
was written by Thorsten Kukuk <kukuk@linux\-nis\.org>\.