1.\" Copyright (c) 1995, 1996
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 14 unchanged lines hidden (view full) ---
23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/libexec/mknetid/mknetid.8 99500 2002-07-06 19:19:48Z charnier $
32.\"
33.Dd June 23, 1996
34.Dt MKNETID 8
35.Os
36.Sh NAME
37.Nm mknetid
38.Nd "generate netid map data"
39.Sh SYNOPSIS
40.Nm
41.Op Fl q
42.Op Fl g Ar group_file
43.Op Fl p Ar passwd_file
44.Op Fl h Ar hosts_file
45.Op Fl n Ar netid_file
46.Op Fl d Ar domain
47.Sh DESCRIPTION
48The
49.Nm
50utility processes the contents of the
51.Xr group 5 ,
52.Xr passwd 5 ,
53.Xr hosts 5
54and
55.Xr netid 5
56files into the format used to generate the
57.Pa netid.byname
58.Tn NIS
59map.
60This map is used to hold credential information for both users
61and hosts in a operating system independent format.
62.Pp
63The
64.Nm
65utility checks for duplicate occurrences of netids and filters
66them out.
67.Pp
68The
69.Nm
70utility prints its results on the standard output.
71It is usually called
72only by
73.Pa /var/yp/Makefile
74when rebuilding the
75.Tn NIS
76maps.
77.Sh OPTIONS
78The
79.Nm
80utility supports the following options:
81.Bl -tag -width indent
82.It Fl q
83Normally,
84.Nm
85prints a warning message when it encounters a duplicate netid.
86This flag turns on 'quiet' mode, allowing the warnings to be
87suppressed.
88Other error messages may still be generated.
--- 22 unchanged lines hidden (view full) ---
111The netid database is not likely to be present on most systems
112until
113.Tn Secure RPC
114support is added to
115.Fx .
116.It Fl d Ar domain
117By default, the
118.Nm
119utility uses the system domainname when generating netid records.
120If
121the system domainname is not set, the domain must be specified on the
122command line with the
123.Fl d
124flag.
125If the domainname is set, the
126.Fl d
127flag may be used to override it.
--- 25 unchanged lines hidden ---
2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
--- 14 unchanged lines hidden (view full) ---
23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/libexec/mknetid/mknetid.8 99500 2002-07-06 19:19:48Z charnier $
32.\"
33.Dd June 23, 1996
34.Dt MKNETID 8
35.Os
36.Sh NAME
37.Nm mknetid
38.Nd "generate netid map data"
39.Sh SYNOPSIS
40.Nm
41.Op Fl q
42.Op Fl g Ar group_file
43.Op Fl p Ar passwd_file
44.Op Fl h Ar hosts_file
45.Op Fl n Ar netid_file
46.Op Fl d Ar domain
47.Sh DESCRIPTION
48The
49.Nm
50utility processes the contents of the
51.Xr group 5 ,
52.Xr passwd 5 ,
53.Xr hosts 5
54and
55.Xr netid 5
56files into the format used to generate the
57.Pa netid.byname
58.Tn NIS
59map.
60This map is used to hold credential information for both users
61and hosts in a operating system independent format.
62.Pp
63The
64.Nm
65utility checks for duplicate occurrences of netids and filters
66them out.
67.Pp
68The
69.Nm
70utility prints its results on the standard output.
71It is usually called
72only by
73.Pa /var/yp/Makefile
74when rebuilding the
75.Tn NIS
76maps.
77.Sh OPTIONS
78The
79.Nm
80utility supports the following options:
81.Bl -tag -width indent
82.It Fl q
83Normally,
84.Nm
85prints a warning message when it encounters a duplicate netid.
86This flag turns on 'quiet' mode, allowing the warnings to be
87suppressed.
88Other error messages may still be generated.
--- 22 unchanged lines hidden (view full) ---
111The netid database is not likely to be present on most systems
112until
113.Tn Secure RPC
114support is added to
115.Fx .
116.It Fl d Ar domain
117By default, the
118.Nm
119utility uses the system domainname when generating netid records.
120If
121the system domainname is not set, the domain must be specified on the
122command line with the
123.Fl d
124flag.
125If the domainname is set, the
126.Fl d
127flag may be used to override it.
--- 25 unchanged lines hidden ---