File: rshd.8

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (232 lines) | stat: -rw-r--r-- 7,435 bytes parent folder | download | duplicates (5)
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/>
ˤ򻲹ͤˤƤ