152 lines
4.5 KiB
Groff
152 lines
4.5 KiB
Groff
.\" Copyright (c) 1995
|
|
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by Bill Paul.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" %FreeBSD: src/libexec/revnetgroup/revnetgroup.8,v 1.7.2.2 2001/07/22 11:01:45 dd Exp %
|
|
.\" $FreeBSD: doc/ja_JP.eucJP/man/man8/revnetgroup.8,v 1.7 2001/05/14 01:09:57 horikawa Exp $
|
|
.\"
|
|
.Dd October 24, 1995
|
|
.Dt REVNETGROUP 8
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm revnetgroup
|
|
.Nd "µÕ¥Í¥Ã¥È¥°¥ë¡¼¥×¥Ç¡¼¥¿¤òÀ¸À®¤¹¤ë"
|
|
.Sh ½ñ¼°
|
|
.Nm
|
|
.Fl u
|
|
.Op Fl f Ar netgroup_file
|
|
.Nm
|
|
.Fl h
|
|
.Op Fl f Ar netgroup_file
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¤Ï
|
|
.Xr netgroup 5
|
|
¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¥Õ¥¡¥¤¥ëÆâÍÆ¤ò½èÍý¤·¡¢
|
|
.Pa µÕ¥Í¥Ã¥È¥°¥ë¡¼¥×
|
|
¤È¸Æ¤Ð¤ì¤ë·Á¼°¤ËÊÑ´¹¤·¤Þ¤¹¡£
|
|
¸µ¤Î¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢¤¢¤ë¥°¥ë¡¼¥×¤¬´Þ¤à¥á¥ó¥Ð¤ò¼¨¤¹·Á¼°¤Ç
|
|
¥Í¥Ã¥È¥°¥ë¡¼¥×¤Î¥á¥ó¥Ð¤¬¼¨¤µ¤ì¤Þ¤¹¡£
|
|
µÕ¥Í¥Ã¥È¥°¥ë¡¼¥×¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤Ï¡¢
|
|
¤¢¤ë¥á¥ó¥Ð¤¬Â°¤¹¤ë¥°¥ë¡¼¥×¤ò¼¨¤·¤Þ¤¹¡£
|
|
¤³¤Î¾ðÊó¤Ï
|
|
.Pa netgroup.byuser
|
|
¤È
|
|
.Pa netgroup.byhosts
|
|
¤Î
|
|
.Tn NIS
|
|
¥Þ¥Ã¥×¤òºîÀ®¤¹¤ë¤¿¤á¤Ë»ÈÍѤ·¤Þ¤¹¡£
|
|
¤³¤ì¤é¤ÎµÕ¥Í¥Ã¥È¥°¥ë¡¼¥×¥Þ¥Ã¥×¤Ï¡¢¥Í¥Ã¥È¥°¥ë¡¼¥×¤Î»²¾È¡¢
|
|
ÆÃ¤Ë
|
|
.Fn innetgr
|
|
¥é¥¤¥Ö¥é¥ê´Ø¿ô¤ò¹â®²½¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
Î㤨¤Ð¡¢É¸½à¤Î
|
|
.Pa /etc/netgroup
|
|
¥Õ¥¡¥¤¥ë¤Ï¥Í¥Ã¥È¥°¥ë¡¼¥×¤È¤½¤Î¥á¥ó¥Ð¥ê¥¹¥È¤òÎóµó¤·¤Þ¤¹¡£
|
|
¤³¤³¤Ç¡¢¥Í¥Ã¥È¥°¥ë¡¼¥×¤Ï
|
|
.Em ¥¡¼
|
|
¤Ç¤¢¤ë¤È¤·¡¢¥á¥ó¥Ð̾¤ò
|
|
.Em ¥Ç¡¼¥¿
|
|
¤Ç¤¢¤ë¤È¤·¤Þ¤¹¡£
|
|
¤³¤ì¤ËÂФ·¡¢µÕ¤Î
|
|
.Pa netgroup.byusers
|
|
¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¡¢¥æ¥Ë¡¼¥¯¤Ê¥á¥ó¥Ð¤ò¥¡¼¤È¤·¡¢
|
|
¥á¥ó¥Ð¤¬Â°¤¹¤ë¥Í¥Ã¥È¥°¥ë¡¼¥×¤ò¥Ç¡¼¥¿¤È¤·¤Þ¤¹¡£
|
|
¥æ¡¼¥¶¤È¥Û¥¹¥È¤Ë°¤¹¤ë¾ðÊó¤òÊÝ»ý¤¹¤ëÊÌ¡¹¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤òºîÀ®¤·¤Þ¤¹;
|
|
¤³¤ì¤Ë¤è¤ê¡¢¥Í¥Ã¥È¥°¥ë¡¼¥×¥æ¡¼¥¶Ì¾»²¾È¤È¥Í¥Ã¥È¥°¥ë¡¼¥×¥Û¥¹¥È̾»²¾È¤¬
|
|
ÆÈΩ¤Î¥¡¼¶õ´Ö¤Ë¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
¤¢¤é¤«¤¸¤áµÕ¥Í¥Ã¥È¥°¥ë¡¼¥×¥Ç¡¼¥¿¥Ù¡¼¥¹
|
|
(¤ª¤è¤Ó¤³¤ì¤ËÂбþ¤¹¤ë
|
|
.Tn NIS
|
|
¥Þ¥Ã¥×)¤ò¹½ÃÛ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢
|
|
Í׵ᤴ¤È¤Ë
|
|
.Xr getnetgrent 3
|
|
¥é¥¤¥Ö¥é¥ê´Ø¿ô¤¬°Í¸´Ø·¸¤ò½èÍý¤·¤Ê¤¯¤Æ¤âÎɤ¯¤Ê¤ê¤Þ¤¹¡£
|
|
¤³¤ì¤Ï¡¢¥æ¡¼¥¶¿ôµÚ¤Ó¥Û¥¹¥È¿ô¤¬Â¿¤¤¥Í¥Ã¥È¥ï¡¼¥¯¤Ç¤Ï½ÅÍפǤ¹¡£
|
|
¤Ê¤¼¤Ê¤é¡¢µðÂç¤Ê¥Í¥Ã¥È¥°¥ë¡¼¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î½èÍý¤Ï¿Âç¤Ê»þ´Ö¤òÍפ¹¤ë¤«¤é¤Ç¤¹¡£
|
|
.Pp
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï·ë²Ì¤òɸ½à½ÐÎϤËɽ¼¨¤·¤Þ¤¹¡£
|
|
Ä̾ï¤Ï
|
|
.Pa /var/yp/Makefile
|
|
¤«¤é¸Æ¤Ð¤ì¤ë¤À¤±¤Ç¤¢¤ê¡¢
|
|
¤³¤ì¤Ï
|
|
.Tn NIS
|
|
¥Í¥Ã¥È¥°¥ë¡¼¥×¥Þ¥Ã¥×¤ò¹½ÃÛ¤¹¤ë»þ¤Ç¤¹¡£
|
|
.Sh ¥ª¥×¥·¥ç¥ó
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹:
|
|
.Bl -tag -width indent
|
|
.It Fl u
|
|
.Pa netgroup.byuser
|
|
¤òÀ¸À®¤·¤Þ¤¹;
|
|
¸µ¤Î¥Í¥Ã¥È¥°¥ë¡¼¥×¥Õ¥¡¥¤¥ë¤Î¥æ¡¼¥¶Ì¾¾ðÊó¤Î¤ß¤¬½èÍý¤µ¤ì¤Þ¤¹¡£
|
|
.It Fl h
|
|
.Pa netgroup.byhost
|
|
¤òÀ¸À®¤·¤Þ¤¹;
|
|
¸µ¤Î¥Í¥Ã¥È¥°¥ë¡¼¥×¥Õ¥¡¥¤¥ë¤Î¥Û¥¹¥È̾¾ðÊó¤Î¤ß¤¬½èÍý¤µ¤ì¤Þ¤¹¡£(
|
|
.Fl u
|
|
¤«
|
|
.Fl h
|
|
¤Î¤¤¤º¤ì¤«¤ò»ØÄꤹ¤ëɬÍפ¬Í¤ê¤Þ¤¹¡£)
|
|
.It Op Fl f Ar netgroup_file
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.Pa /etc/netgroup
|
|
¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤È¤·¤Þ¤¹¡£
|
|
.Fl f
|
|
¥Õ¥é¥°¤Ë¤Æ¡¢¥æ¡¼¥¶¤ÏÊÌ¤ÎÆþÎÏ¥Õ¥¡¥¤¥ë¤ò»ØÄê¤Ç¤¤Þ¤¹¡£``-'' ¤ò
|
|
ÆþÎÏ¥Õ¥¡¥¤¥ë¤È¤·¤Æ»ØÄꤹ¤ë¤È¡¢
|
|
.Nm
|
|
¤Ïɸ½àÆþÎϤòÆÉ¤ß¤Þ¤¹¡£
|
|
.El
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /var/yp/Makefile -compact
|
|
.It Pa /var/yp/Makefile
|
|
.Tn NIS
|
|
¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¹½ÃÛ¤¹¤ë¤¿¤á¤Ë
|
|
.Nm yp_mkdb
|
|
¤È
|
|
.Nm
|
|
¤ò¸Æ¤Ó½Ð¤¹ Makefile¡£
|
|
.It Pa /etc/netgroup
|
|
¥Ç¥Õ¥©¥ë¥È¤Î¥Í¥Ã¥È¥°¥ë¡¼¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¥Õ¥¡¥¤¥ë¡£
|
|
¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢
|
|
.Tn NIS
|
|
¥Þ¥¹¥¿¥µ¡¼¥Ð¤Ë¤À¤±Í¤ê¤Þ¤¹¡£
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr getnetgrent 3 ,
|
|
.Xr yp 4 ,
|
|
.Xr netgroup 5 ,
|
|
.Xr yp_mkdb 8
|
|
.Sh ºî¼Ô
|
|
.An Bill Paul Aq wpaul@ctr.columbia.edu
|