1.\" $OpenBSD: netid.5,v 1.8 2001/08/02 18:37:35 mpech 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.Xr netid 5 43format are rare. 44One lives in the 45.Nm YP 46map 47.Dq netid.byname . 48The format is rather simple. 49Each row consists of two items: a key and a value. 50When created by 51.Xr mknetid 8 52there are three types of records. 53.Pp 54The first type is information about which GIDs a UID has: 55.Bd -literal 56unix.<uid>@<yp-domain> <uid>:<gid>,<gid> 57.Ed 58.Pp 59The second type contains information about hosts: 60.Bd -literal 61unix.<hostname>@<yp-domain> 0:<hostname> 62.Ed 63.Pp 64The third type refers to records from a 65.Xr netid 5 66file other than the two types above. 67.Sh EXAMPLES 68A configuration file might look like the following: 69.Bd -literal 70unix.10714@kaka 10714:400,10 71unix.jodie@kaka 0:jodie 72.Ed 73.Sh FILES 74.Bl -tag -width /etc/netid -compact 75.It Pa /etc/netid 76for lines not generated automatically by 77.Xr mknetid 8 . 78.El 79.Sh SEE ALSO 80.Xr mknetid 8 , 81.Xr yp 8 82.Sh AUTHORS 83Mats O Jansson <moj@stacken.kth.se> 84