xref: /freebsd/usr.bin/ypmatch/ypmatch.1 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
173407b34SGarrett Wollman.\" Copyright (c) 1993 Winning Strategies, Inc.
273407b34SGarrett Wollman.\" All rights reserved.
373407b34SGarrett Wollman.\"
473407b34SGarrett Wollman.\" Redistribution and use in source and binary forms, with or without
573407b34SGarrett Wollman.\" modification, are permitted provided that the following conditions
673407b34SGarrett Wollman.\" are met:
773407b34SGarrett Wollman.\" 1. Redistributions of source code must retain the above copyright
873407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer.
973407b34SGarrett Wollman.\" 2. Redistributions in binary form must reproduce the above copyright
1073407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer in the
1173407b34SGarrett Wollman.\"    documentation and/or other materials provided with the distribution.
1273407b34SGarrett Wollman.\" 3. All advertising materials mentioning features or use of this software
1373407b34SGarrett Wollman.\"    must display the following acknowledgement:
1473407b34SGarrett Wollman.\"      This product includes software developed by Winning Strategies, Inc.
1573407b34SGarrett Wollman.\" 4. The name of the author may not be used to endorse or promote products
164a8d0283SMike Pritchard.\"    derived from this software without specific prior written permission
1773407b34SGarrett Wollman.\"
1873407b34SGarrett Wollman.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1973407b34SGarrett Wollman.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2073407b34SGarrett Wollman.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2173407b34SGarrett Wollman.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2273407b34SGarrett Wollman.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2373407b34SGarrett Wollman.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2473407b34SGarrett Wollman.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2573407b34SGarrett Wollman.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2673407b34SGarrett Wollman.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2773407b34SGarrett Wollman.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2873407b34SGarrett Wollman.\"
29*aa44f2edSMarcelo Araujo.Dd September 3, 2015
3073407b34SGarrett Wollman.Dt YPMATCH 1
3173407b34SGarrett Wollman.Os
3273407b34SGarrett Wollman.Sh NAME
3373407b34SGarrett Wollman.Nm ypmatch
34*aa44f2edSMarcelo Araujo.Nd print the values of one or more keys in a NIS database
3573407b34SGarrett Wollman.Sh SYNOPSIS
368fe908efSRuslan Ermilov.Nm
3773407b34SGarrett Wollman.Op Fl kt
3873407b34SGarrett Wollman.Op Fl d Ar domainname
3973407b34SGarrett Wollman.Ar key ...
4073407b34SGarrett Wollman.Ar mapname
418fe908efSRuslan Ermilov.Nm
4273407b34SGarrett Wollman.Fl x
4373407b34SGarrett Wollman.Sh DESCRIPTION
44e8937ba0SPhilippe CharnierThe
45e8937ba0SPhilippe Charnier.Nm
46e8937ba0SPhilippe Charnierutility prints out the values of one or more keys from the
47*aa44f2edSMarcelo Araujo.Tn NIS
4873407b34SGarrett Wollmandatabase specified by
4973407b34SGarrett Wollman.Ar mapname ,
5073407b34SGarrett Wollmanwhich may be a map name or a map nickname.
5173407b34SGarrett Wollman.Pp
5273407b34SGarrett WollmanThe options are as follows:
5373407b34SGarrett Wollman.Bl -tag -width indent
5473407b34SGarrett Wollman.It Fl d Ar domainname
5573407b34SGarrett WollmanSpecify a domain other than the default domain.
5673407b34SGarrett Wollman.It Fl k
5773407b34SGarrett WollmanDisplay map keys.
5873407b34SGarrett WollmanThis option is useful with maps in which the values are null or the key
5973407b34SGarrett Wollmanis not part of the value.
6073407b34SGarrett Wollman.It Fl t
6173407b34SGarrett WollmanInhibit translation of map nicknames
6273407b34SGarrett Wollmanto their corresponding map names.
6373407b34SGarrett Wollman.It Fl x
6473407b34SGarrett WollmanDisplay the map nickname table.
6573407b34SGarrett Wollman.El
6673407b34SGarrett Wollman.Sh SEE ALSO
673eff8361SPhilippe Charnier.Xr domainname 1 ,
6873407b34SGarrett Wollman.Xr ypcat 1 ,
69491a8429SRuslan Ermilov.Xr yp 8 ,
703eff8361SPhilippe Charnier.Xr ypbind 8 ,
713eff8361SPhilippe Charnier.Xr ypset 8
72306005e7SPhilippe Charnier.Sh AUTHORS
732b7af31cSBaptiste Daroussin.An Theo De Raadt Aq Mt deraadt@theos.com .
74