1.\" $OpenBSD: mknetid.8,v 1.3 1996/05/30 09:53:07 deraadt Exp $ 2.\" Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 3. All advertising materials mentioning features or use of this software 14.\" must display the following acknowledgement: 15.\" This product includes software developed by Mats O Jansson 16.\" 4. The name of the author may not be used to endorse or promote products 17.\" derived from this software without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 20.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 21.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 23.\" 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.Dd January 13, 1996 32.Dt MKNETID 8 33.Os 34.Sh NAME 35.Nm mknetid 36.Nd a YP filter program 37.Sh SYNOPSIS 38.Nm mknetid 39.Op Fl d Ar domain 40.Op Fl q 41.Op Fl p Ar passwdfile 42.Op Fl g Ar groupfile 43.Op Fl h Ar hostfile 44.Op Fl m Ar netidfile 45.Sh DESCRIPTION 46.Nm Mknetid 47is used to create a map named 48.Ar netid.byname . 49The map consists of information from 50.Xr passwd 5 , 51.Xr group 5 52and 53.Xr hosts 5 54eventually concatenated with a 55.Xr netid 5 56file. 57.Pp 58The options are as follows: 59.Bl -tag -width indent 60.It Fl d Ar domain 61Which yp-domain if not default yp-domain. 62.It Fl q 63Keep quiet about multipy occuraces of a uid. Ignore all but the first. 64.It Fl p Ar passwdfile 65Alternate 66.Xr passwd 5 67file. Default is 68.Nm /etc/passwd . 69.It Fl g Ar groupfile 70Alternate 71.Xr group 5 72file. Default is 73.Nm /etc/group . 74.It Fl h Ar hostfile 75Alternate 76.Xr hosts 5 Default is 77.Nm /etc/hosts . 78file 79.It Fl m Ar netidfile 80Alternate 81.Xr netid 5 Default is 82.Nm /etc/netid . 83file. 84.El 85.Sh FILES 86.Bl -tag -width /etc/passwd -compact 87.It Pa /etc/passwd 88.It Pa /etc/group 89.It Pa /etc/hosts 90.It Pa /etc/netid 91.El 92.Sh SEE ALSO 93.Xr yp 8 94.Xr passwd 5 , 95.Xr group 5 , 96.Xr hosts 5 , 97.Xr netid 5 98.Sh AUTHOR 99Mats O Jansson <moj@stacken.kth.se> 100