OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / ypserv / original / man8 / mknetid.8
1 .\" -*- nroff -*-
2 .TH MKNETID 8 "August 2001" "YP Server" "Reference Manual"
3 .SH NAME
4 mknetid \- generate data for netid map
5 .SH SYNOPSIS
6 .B /usr/lib/yp/mknetid
7 [
8 .B \-q
9 ]
10 [
11 .B \-h hosts
12 ]
13 [
14 .B \-p passwd
15 ]
16 [
17 .B \-g group
18 ]
19 [
20 .B \-d domain
21 ]
22 [
23 .B \-n netid
24 ]
25 .LP
26 .B /usr/lib/yp/mknetid
27 .B \-\-version
28 .LP
29 .SH DESCRIPTION
30 .LP
31 .B mknetid
32 generates the \fInetid.byname\fP NIS map from the contents of the
33 group(5), passwd(5), hosts(5) and netid files. It checks for multiple
34 entrys of netids and warn for them or filters them out. It is only
35 called by
36 .B /var/yp/Makefile
37 when rebuilding the NIS map.
38 .SH OPTIONS
39 .TP
40 .B \-q
41 This flag turns on 'quiet' mode, don't print a warning message when
42 finding an duplicate netid entry.
43 .TP
44 .BI \-h " hosts"
45 The
46 .B \-h
47 flag can be used to specify the use of another hosts file
48 than the default \fI/etc/hosts\fP.
49 .TP
50 .BI \-p " passwd"
51 The
52 .B \-p
53 flag can be used to specify the use of another passwd file
54 than the default \fI/etc/passwd\fP.
55 .TP
56 .BI \-g " group"
57 The
58 .B \-g
59 flag can be used to specify the use of another group file
60 than the default \fI/etc/group\fP.
61 .TP
62 .BI \-n " netid"
63 The
64 .B \-n
65 flag can be used to specify the use of another netid file
66 than the default \fI/etc/netid\fP.
67 .TP
68 .BI \-d " domain"
69 The
70 .B mknetid
71 command uses the system domainname by default. If it is not set
72 or you whish to override it, you must use the
73 .B \-d
74 parameter.
75 .TP
76 .B \-\-version
77 Prints the version number
78 .SH FILES
79 .PD 0
80 .TP 20
81 .B /etc/group
82 groups file
83 .TP
84 .B /etc/hosts
85 hosts database
86 .TP
87 .B /etc/netid
88 netname database
89 .TP
90 .B /etc/passwd
91 password file
92 .PD
93 .SH "SEE ALSO"
94 .BR passwd (8),
95 .BR group (5),
96 .BR hosts (5),
97 .BR passwd (5)
98 .LP
99 .SH AUTHOR
100 .B mknetid
101 was written by Thorsten Kukuk <kukuk@suse.de>.