1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
|
.\" Copyright (c) 1983, 1989, 1991 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.
.\"
.\" from: @(#)rshd.8 6.11 (Berkeley) 4/20/91
.\" $Id: rshd.8,v 1.1.1.1 2000/10/19 08:22:16 ysato Exp $
.\"
.\" Japanese Version Copyright (c) 2001 Yuichi SATO
.\" all rights reserved.
.\" Translated Sun Jan 14 21:16:31 JST 2001
.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.Dd April 20, 1991
.Dt RSHD 8
.Os "Linux NetKit (0.17)"
.Sh ̾
.Nm rshd
.Nd ⡼ȥΥ
.Sh
.Nm rshd
.Op Fl ahlnL
.Sh
.Nm rshd
Фϡ
.Xr rcmd 3
롼ΤΥФǤꡢ
̤Ȥ
.Xr rsh 1
ץ¹Ԥ뤿ΥФǤ롣
ΥФϡǤۥȤøݡֹ˴ŤǧڤȤ
⡼ȼ¹Եǽ롣
.Pp
.Nm rshd
Фϡ``cmd'' ӥλͤǻꤵƤݡȤǡ
ӥԤġ
.Xr services 5
Ȥ뤳ȡ
ӥȡʲμϤ:
.Bl -enum
.It
Фϡ饤ȤḵݡȤå롣
ḵݡȤ 512 1023 ϰϤˤʤ硢
Ф³ߤ롣
.It
ФϡåȤ̥Х (`\e0') Фޤʸɤ߹ࡣ
ɤ߹ʸϡ
.Tn ASCII
ʸʤ 10 ʿοȤƲᤵ롣
.It
ƥå 2 Ǽͤ 0 Ǥʤ硢
.Em ɸ२顼
ǻȤ 2 ܤΥȥΥݡȤȤƲᤵ롣
ơ2 ܤ³ꤵ줿ݡȤǥ饤ȥޥ롣
2 ܤ³ḵݡȤ 512 1023 ϰϤǤ롣
.It
Фϡ饤Ȥḵɥ쥹å
бۥ᤹̾
.Ns ( Xr gethostbyaddr 3 ,
.Xr hosts 5 ,
.Xr named 8
Ȥ뤳)
ۥ̾Ǥʤ硢
ɥåɽˡˤۥȥɥ쥹Ȥ롣
ۥ̾ФƱɥᥤ̾ΤΤǤ
(ɥᥤ̾θ 2 ĤƱ)
ޤ
.Fl a
ץꤵƤ硢
ۥ̾б륢ɥ쥹ᤵ졢
ۥ̾ȥɥ쥹бƤ뤫ǧ롣
ɥ쥹ǧԤ硢
``Host address mismatch.'' ȤåФơ³ߤ롣
.It
̥ʸǽü줿 16 ʸΥ桼̾
ǽΥåȤ롣
桼̾ϡ
.Em 饤
ޥǥ桼̤뤿˲ᤵ롣
.It
̥ʸǽü줿 16 ʸΥ桼̾
ǽΥåȤ롣
桼̾ϡ
.Em
ޥǥ桼̤뤿˲ᤵ롣
.It
̥ʸǽü줿Ϥ륳ޥɤ
ǽΥåȤ롣
ޥɤĹϡƥΰꥹȤ롣
.It
.Nm rshd
.Xr ruserok 3
Ȥäƥ桼ǧ롣
Υץ
.Pa /etc/hosts.equiv
եȡ桼Υۡǥ쥯ȥˤ
.Pa .rhosts
եȤ
.Fl l
ץϡ
.Xr ruserok 3
ˡ桼 ``.rhosts'' ե˴ŤǧԤ碌ʤ
(桼ѡ桼Ǥȡ
.Fl h
ץȤ줿)
.Fl h
ץꤵʤ硢
ѡ桼ȤϡΥӥǤȤʤ
.Pp
.Fl l
ץϡ
ƥ˥ȡ뤵ƤΥС libc
ư뤫ǧ˿Ѥ٤ǤϤʤ
(ޤlibc ƥȤ٤Ǥ)
ʤʤ顢libc ΤĤΥСǤ
.Nm rshd
Ȥե饰ѤǤʤ
.Pp
ޤ
.Pa .rhosts
ƥ߷פϡŤ˥եǰϤޤ줿
ץ饤١ȥͥåȥʳǤϡ
äưǤʤפȤդ뤳ȡ
ʳδĶǤ
.Nm rshd
̵ˤ٤Ǥ롣
.Pp
.It
̥ʸΥХȤǽΥåȤ֤졢
ޥɹԤ桼̾ΥϤ롣
Υ
.Nm rshd
ˤäƳΩ줿ͥåȥ³ݤ롣
.El
.Pp
ȥݡȥ٥Υץ饤֥åϡ
.Fl n
ץꤵʤ¤ꡢͭǤ롣
ץ饤֥åȤȡ
饤Ȥå夷ãǽˤʤäˡ
åॢȤ뤳ȤǤ롣
.Pp
.Fl L
ץȤȤǡ
Ƥʥ
.Xr syslogd 8
ͳ
.Li auth.info
åȤƥ˵ϿǤ롣
ޤƤμԤ
.Li auth.notice
Ȥƥ˵ϿǤ롣
.Sh ֤
ʲ˥ꥹȤΤΤǸΤΤ
ƤοǥåǽΥåȤȤä֤塢
ƤΥͥåȥ³Ĥ롣
顼ϡƬ 1 ΥХȤĤ뤳ȤǼ
(¹ƤΥƥåפ˴λ硢
嵭Υƥå 9 0 ֤)
.Bl -tag -width indent
.It Sy Locuser too long.
饤ȥޥΥ桼̾16 ʸĶƤ롣
.It Sy Ruser too long.
⡼ȥޥΥ桼̾16 ʸĶƤ롣
.It Sy Command too long .
Ϥ줿ޥɥ饤Ĺ(ƥꤵ줿)
ꥹȤΥĶƤ롣
.It Sy Remote directory.
ۡǥ쥯ȥؤ
.Xr chdir
ޥɤԤ
.It Sy Permission denied.
ǧڼ³Ԥ
ޤϡᤵ줿桼¸ߤʤä
(ξϡΰդȤ߹碌)
.It Sy Can't make pipe.
.Em ɸ२顼
ɬפʥѥפǤʤä
.It Sy Can't fork; try again.
Фˤ
.Xr fork
Ԥ
.It Sy <shellname>: ...
桼ΥưǤʤä
Υåϡ
.Em ɸ२顼
˴طŤ줿³ͳ֤Τǡ
ե饰ХȤդʤ
.El
.Sh Ϣ
.Xr rsh 1 ,
.Xr rcmd 3 ,
.Xr ruserok 3
.Sh Х
ǻȤƤ桼ǧڼ³ϡ
饤ȥޥ³ΤǤ뤳ȤꤷƤ롣
ϰǤϤʤ֥ץʡ״ĶǤǤ롣
.Pp
̿ƤΥǡŹ沽뵡ǽ٤Ǥ롣
.Pp
(Telnet Τ褦) äȳĥΤץȥ뤬Ѥ٤Ǥ롣
.Sh Լռ
man ڡˤꡢ
FreeBSD jpman project <http://www.jp.freebsd.org/man-jp/>
ˤͤˤƤ
|