1.\" $NetBSD: netid.5,v 1.12 2017/07/03 21:35:32 wiz 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.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 16.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd February 26, 2005 28.Dt NETID 5 29.Os 30.Sh NAME 31.Nm netid 32.Nd NIS network credential file 33.Sh DESCRIPTION 34Files in 35.Nm 36format are rare. One lives in the 37.Tn NIS 38map 39.Pa netid.byname . 40The format is rather simple. Each row consists of two 41items, a key and a value. When created by 42.Xr mknetid 8 43there are three kind of records. 44.Pp 45The first type is information about which gids a uid has: 46.Bd -literal 47unix.<uid>@<yp-domain> <uid>:<gid>,<gid> 48.Ed 49.Pp 50The second type has informations about hosts: 51.Bd -literal 52unix.<hostname>@<yp-domain> 0:<hostname> 53.Ed 54.Pp 55The third type is records from a 56.Nm 57file other than the two types above. 58.Sh FILES 59.Bl -tag -width /etc/netid -compact 60.It Pa /etc/netid 61A file for lines not generated automatically by 62.Xr mknetid 8 . 63.El 64.Sh EXAMPLES 65A configuration file might appear as follows: 66.Bd -literal 67unix.10714@kaka 10714:400,10 68unix.jodie@kaka 0:jodie 69.Ed 70.Sh SEE ALSO 71.Xr mknetid 8 , 72.Xr nis 8 73.Sh AUTHORS 74.An Mats O Jansson Aq Mt moj@stacken.kth.se 75