Correct anonnymous ftp site for file.1. Sync MACROs with original version. Submitted by: kano@na.rim.or.jp
142 lines
4.1 KiB
Groff
142 lines
4.1 KiB
Groff
.\" Copyright (c) 1983, 1991, 1993
|
|
.\" The Regents of the University of California. 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 the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 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 THE REGENTS 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 THE REGENTS 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/share/man/man5/hosts.equiv.5,v 1.18 2004/07/03 18:29:22 ru Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.Dd February 11, 1996
|
|
.Dt HOSTS.EQUIV 5
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm hosts.equiv ,
|
|
.Nm .rhosts
|
|
.Nd ¿®Íê¤Ç¤¤ë¥ê¥â¡¼¥È¥Û¥¹¥È̾¡¢¤ª¤è¤Ó¥æ¡¼¥¶¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¤ª¤è¤Ó
|
|
.Nm .rhosts
|
|
¥Õ¥¡¥¤¥ë¤Ï¡¢¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î¿®Íê¤Ç¤¤ë¥Û¥¹¥È¤È¥æ¡¼¥¶¤Ë´Ø¤¹¤ë¾ðÊó¤ò³ÊǼ
|
|
¤·¤Þ¤¹¡£
|
|
³Æ¥Û¥¹¥È¤ËÂФ·¤Æ¡¢1¤Ä¤Î¹Ô¤Ë°Ê²¼¤Î¾ðÊó¤òÍ¿¤¨¤Þ¤¹¡£
|
|
.Pp
|
|
ñ½ã¤Ë
|
|
.Bd -unfilled -offset indent
|
|
hostname [username]
|
|
.Ed
|
|
.Pp
|
|
¤¢¤ë¤¤¤Ï¡¢¤è¤ê¾éĹ¤Ë°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
.Bd -unfilled -offset indent
|
|
[+-][hostname|@netgroup] [[+-][username|@netgroup]]
|
|
.Ed
|
|
.Pp
|
|
.Dq @
|
|
¤Ï netgroup ¤È¤¤¤¦¥°¥ë¡¼¥×¤Ë¤è¤Ã¤Æ¥Û¥¹¥È¡¢¤Þ¤¿¤Ï¥æ¡¼¥¶¤òɽ¤·¤Þ¤¹¡£
|
|
ñÆÈ¤Î
|
|
.Dq +
|
|
¤ÏÁ´¤Æ¤Î¥Û¥¹¥È¡¢¤Þ¤¿¤Ï¥æ¡¼¥¶¤È°ìÃפ·¤Þ¤¹¡£Á°¤Ë
|
|
.Dq -
|
|
¤òȼ¤¦¥Û¥¹¥È̾¤Ï¡¢°ìÃפ¹¤ëÁ´¤Æ¤Î¥Û¥¹¥È¤È¤½¤Î¥Û¥¹¥È¾å¤ÎÁ´¤Æ¤Î
|
|
¥æ¡¼¥¶¤òµñÈݤ·¤Þ¤¹¡£
|
|
Á°¤Ë
|
|
.Dq -
|
|
¤òȼ¤¦¥æ¡¼¥¶Ì¾¤Ï¡¢»ØÄꤵ¤ì¤¿¥Û¥¹¥È¾å¤Î°ìÃפ·¤¿¥æ¡¼¥¶Á´¤Æ¤òµñÈݤ·¤Þ¤¹¡£
|
|
.Pp
|
|
³Æ¹àÌܤÏǤ°Õ¤Î¿ô¤Î¶õÇò¤ä¥¿¥Öʸ»ú¤Ç¶èÀÚ¤é¤ì¤Þ¤¹¡£
|
|
.Dq #
|
|
¤Ï¥³¥á¥ó¥È¤Î³«»Ï¤òɽ¤·¡¢¤³¤ì°Ê¹ß¤Î¹ÔËö¤Þ¤Ç¤Îʸ»ú¤Ï¤³¤Î¥Õ¥¡¥¤¥ë¤ò
|
|
¸¡º÷¤¹¤ë¥ë¡¼¥Á¥ó¤Ë¤è¤Ã¤Æ²ò¼á¤µ¤ì¤Þ¤»¤ó¡£
|
|
.Pp
|
|
¥Û¥¹¥È̾¤Ï¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥¢¥É¥ì¥¹Áàºî¥é¥¤¥Ö¥é¥ê
|
|
.Xr inet 3
|
|
¤Î
|
|
.Xr inet_addr 3
|
|
¥ë¡¼¥Á¥ó¤òÍѤ¤¤¿ÅÁÅýŪ¤Ê
|
|
.Dq .\&
|
|
(¥É¥Ã¥È) ɽµ¤Ç»ØÄꤵ¤ì¤Þ¤¹¡£
|
|
¥Û¥¹¥È̾¤Ï¡¢¥Õ¥£¡¼¥ë¥É¶èÀÚ¤êʸ»ú¡¢²þ¹Ô¡¢¤ª¤è¤Ó¥³¥á¥ó¥Èʸ»ú
|
|
°Ê³°¤Î¤¢¤é¤æ¤ë°õ»ú²Äǽʸ»ú¤ò´Þ¤à¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Pp
|
|
¥»¥¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤«¤é¡¢¥æ¡¼¥¶¤Î
|
|
.Nm .rhosts
|
|
¤¬Ä̾ï¥Õ¥¡¥¤¥ë¤Ç¤Ê¤¤¤«¡¢½êͼԤ¬¤½¤Î¥æ¡¼¥¶¤Ç¤Ê¤¤¤«¡¢¤¢¤ë¤¤¤Ï¤½¤Î
|
|
¥æ¡¼¥¶°Ê³°¤Î¥æ¡¼¥¶¤¬½ñ¤¹þ¤ß²Äǽ¤Ê¾ì¹ç¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
|
|
.Sh »ÈÍÑÎã
|
|
.Dl bar.com foo
|
|
.Pp
|
|
¥Û¥¹¥È
|
|
.Dq bar.com
|
|
¤Î¥æ¡¼¥¶
|
|
.Dq foo
|
|
¤ò¿®Íꤷ¤Þ¤¹¡£
|
|
.Pp
|
|
.Dl +@allclient
|
|
.Pp
|
|
¥Í¥Ã¥È¥°¥ë¡¼¥×
|
|
.Dq allclient
|
|
¤ÎÁ´¤Æ¤Î¥Û¥¹¥È¤ò¿®Íꤷ¤Þ¤¹¡£
|
|
.Pp
|
|
.Dl +@allclient -@dau
|
|
.Pp
|
|
¥Í¥Ã¥È¥°¥ë¡¼¥×
|
|
.Dq allclient
|
|
¤ÎÁ´¤Æ¤Î¥Û¥¹¥È¤È¤½¤Î¥æ¡¼¥¶¤ò¿®Íꤷ¤Þ¤¹¤¬¡¢
|
|
¥Í¥Ã¥È¥°¥ë¡¼¥×
|
|
.Dq dau
|
|
¤Î¥æ¡¼¥¶¤ÏÎã³°¤Ç¤¹¡£
|
|
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /etc/hosts.equivxxx -compact
|
|
.It Pa /etc/hosts.equiv
|
|
.Nm
|
|
¥Õ¥¡¥¤¥ë¤Ï
|
|
.Pa /etc
|
|
¤Ë¸ºß¤·¤Þ¤¹¡£
|
|
.It Pa $HOME/.rhosts
|
|
.Nm .rhosts
|
|
¥Õ¥¡¥¤¥ë¤Ï
|
|
.Pa $HOME
|
|
¤Ë¸ºß¤·¤Þ¤¹¡£
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr rcp 1 ,
|
|
.Xr rlogin 1 ,
|
|
.Xr rsh 1 ,
|
|
.Xr gethostbyname 3 ,
|
|
.Xr inet 3 ,
|
|
.Xr innetgr 3 ,
|
|
.Xr ruserok 3 ,
|
|
.Xr ifconfig 8 ,
|
|
.Xr named 8 ,
|
|
.Xr yp 8
|
|
.Sh ¥Ð¥°
|
|
¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ÏÉÔ´°Á´¤Ç¤¹¡£
|
|
¤è¤ê¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
|
|
.Pa src/lib/libc/net/rcmd.c
|
|
¤Î¥½¡¼¥¹¤«¡¢ SunOS ¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
|