1.\" $NetBSD: netid.5,v 1.2 1997/10/02 14:16:29 lukem 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 38YP network credential file 39.Sh DESCRIPTION 40Files in 41.Nm 42format are rare. One lives in the YP map 43.Pa netid.byname . 44The format is rather simple. Each row consists of two 45items, a key and a value. When created by 46.Xr mknetid 8 47there are three kind of records. 48.Pp 49The first type is information about which gids a uid has: 50.Bd -literal 51unix.<uid>@<yp-domain> <uid>:<gid>,<gid> 52.Ed 53.Pp 54The second type has informations about hosts: 55.Bd -literal 56unix.<hostname>@<yp-domain> 0:<hostname> 57.Ed 58.Pp 59The third type is records from a 60.Xr netid 5 61file other than the two types above. 62.Sh EXAMPLES 63.Pp 64A configuration file might appear as follows: 65.Bd -literal 66unix.10714@kaka 10714:400,10 67unix.jodie@kaka 0:jodie 68.Ed 69.Sh FILES 70.Bl -tag -width /etc/netid -compact 71.It Pa /etc/netid 72A file for lines not generated automatically by 73.Xr mknetid 8 . 74.El 75.Sh SEE ALSO 76.Xr mknetid 8 , 77.Xr yp 8 78.Sh AUTHOR 79Mats O Jansson <moj@stacken.kth.se> 80