xref: /netbsd-src/usr.sbin/ypserv/mknetid/netid.5 (revision 037708cbd4616ccd0d7d0381ebd3964d6696c188)
1.\"	$NetBSD: netid.5,v 1.1.1.1 1996/08/09 10:14:55 thorpej Exp $
2.\"
3.\" Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"      This product includes software developed by Mats O Jansson
17.\" 4. The name of the author may not be used to endorse or promote products
18.\"    derived from this software without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.Dd January 13, 1996
33.Dt NETID 5
34.Os
35.Sh NAME
36.Nm netid
37.Nd
38.Nm YP
39network credential file
40.Sh DESCRIPTION
41Files in
42.Nm netid
43format is rare. One lives in the
44.Nm YP
45map
46.Nm netid.byname .
47The format is rather simple. Each row consists of two
48items, a key and a value. When created by
49.Xr mknetid 8
50there is three kind of records.
51.Pp
52The first type is information about which gids a uid has:
53.Bd -literal
54unix.<uid>@<yp-domain> <uid>:<gid>,<gid>
55.Ed
56.Pp
57The second type has informations about hosts:
58.Bd -literal
59unix.<hostname>@<yp-domain> 0:<hostname>
60.Ed
61.Pp
62The third type is records from a
63.Xr netid 5
64file other than the two types above.
65.Sh EXAMPLES
66.Pp
67A configuration file might appear as follows:
68.Bd -literal
69unix.10714@kaka 10714:400,10
70unix.jodie@kaka 0:jodie
71.Ed
72.Sh FILES
73.Bl -tag -width /etc/netid -compact
74.It Pa /etc/netid
75A file for lines not generated automatic by
76.Xr mknetid 8 .
77.El
78.Sh SEE ALSO
79.Xr yp 8 ,
80.Xr mknetid 8
81.Sh AUTHOR
82Mats O Jansson <moj@stacken.kth.se>
83