File: visudo.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 (335 lines) | stat: -rw-r--r-- 12,962 bytes parent folder | download
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
.\" Copyright (c) 1996,1998-2005, 2007-2008
.\" 	Todd C. Miller <Todd.Miller@courtesan.com>
.\" 
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\" 
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" 
.\" Sponsored in part by the Defense Advanced Research Projects
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\" 
.\" Japanese Version Copyright (c) 2000-2002 Yuichi SATO
.\"   and 2009 Yoichi Chonan
.\"         all rights reserved.
.\" Translated Sat Oct  7 14:39:18 JST 2000
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated & Modified Fri Dec  6 04:40:44 JST 2002 by Yuichi SATO
.\" New Translation (sudo-1.6.9p17) Fri Jan 23 10:31:17 JST 2009
.\"         by Yoichi Chonan <cyoichi@maple.ocn.ne.jp>
.\" Updated & Modified (sudo-1.7.2p1) Sat Nov 14 21:15:16 JST 2009
.\"         by Yoichi Chonan
.\"
.\" $Sudo: visudo.man.in,v 1.34 2009/06/11 20:29:12 millert Exp $
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` 
.    ds C' 
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
..
.    nr % 0
.    rr F
.\}
.el \{\
.    de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.if n \{\
.    ds #H 0
.    ds #V .8m
.    ds #F .3m
.    ds #[ \f1
.    ds #] \fP
.\}
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #F 0
.    ds #[ \&
.    ds #] \&
.\}
.    \" simple accents for nroff and troff
.if n \{\
.    ds ' \&
.    ds ` \&
.    ds ^ \&
.    ds , \&
.    ds ~ ~
.    ds /
.\}
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.    \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
.    ds : e
.    ds 8 ss
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds ae ae
.    ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "VISUDO 8"
.TH VISUDO 8 "June 11, 2009" "1.7.2p1" "MAINTENANCE COMMANDS"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "̾"
\"O visudo \- edit the sudoers file
visudo \- sudoers եԽ
.SH ""
.IX Header "SYNOPSIS"
\&\fBvisudo\fR [\fB\-c\fR] [\fB\-q\fR] [\fB\-s\fR] [\fB\-V\fR] [\fB\-f\fR \fIsudoers\fR]
.SH ""
.IX Header "DESCRIPTION"
\&\fBvisudo\fR  \fIvipw\fR\|(8) ˤ褯ʤ 
\&\fIsudoers\fR եԽ롣 \fBvisudo\fR  \fIsudoers\fR 
եåơʣԽƱ˹Ԥʤ褦ˤȤȤˡ
򤶤äĴ١ʸˡ顼ΥåԤ \fIsudoers\fR ե
Խäϡtry again laterפȤåü
ɽ롣
.PP
\&\fBvisudo\fR Ѥ륨ǥˤĤƤϡѥꤵ줿
ǥΥꥹȤץޤƤ뤬\fIsudoers\fR ե 
\&\f(CW\*(C`Defaults\*(C'\fR Ԥ \fIeditor\fR ץȤС
ѹ뤳ȤǤ롣ΥꥹȤϥǥեȤǤϡ
ѤƤ륷ƥˤ \fIvi\fR\|(1) ΥѥǤꡢ
\&\fIconfigure\fR ץȤˤäƳФ줿Τ
̾ \fBvisudo\fR ϡĶѿ \f(CW\*(C`VISUAL\*(C'\fR 
\&\f(CW\*(C`EDITOR\*(C'\fR ͤҤΥǥꥹȤ˴ޤޤ
ǥǤʤꡢĶѿѤʤȤϸ\fBvisudo\fR 
\&\fI\-\-with\-env\-editor\fR ץդ configure Ƥ䡢
\&\fIsudoeres\fR ե \f(CW\*(C`Defaults\*(C'\fR Ԥ
\&\fIenv_editor\fR ץ󤬥åȤƤϡ\fBvisudo\fR 
\&\f(CW\*(C`VISUAL\*(C'\fR  \f(CW\*(C`EDITOR\*(C'\fR ˤäƻꤵ줿
ɤʥǥǤѤ뤳Ȥˤʤ롣줬ƥۡ
ʤ꤫ͤʤȤդƤۤñ \f(CW\*(C`VISUAL\*(C'\fR 
\&\f(CW\*(C`EDITOR\*(C'\fR ꤹǡ桼ǤդΥץ
¹ԤǤ褦ˤʤäƤޤ
.PP
\&\fBvisudo\fR Խȡ\fIsudoers\fR եʸˡϤԤ
ʸˡ顼Сѹ¸ʤ\fBvisudo\fR ϥ顼ȯȡ
顼ֹΤ餻åɽ\*(L"What now?\*(R" 
ץץȤФΤȤ\*(L"e\*(R" 򲡤С
\&\fIsudoers\fR եԽǤ롣\*(L"x\*(R" 򲡤С
ѹ¸λ\*(L"Q\*(R" 򲡤Сѹ¸ƽλ
\&\*(L"Q\*(R" ϡ줰⿵ŤˤäƤۤʤʤ顢
\&\fBvisudo\fR ʸˡ顼ȹͤΤʤ顢\fBsudo\fR 
Ʊͤ˹ͤϤǤꡢ顼ޤǡ⤦ïˤ \fBsudo\fR 
ȤʤʤäƤޤʸˡ顼ȯ줿Ȥ\*(L"e\*(R" 
 \fIsudoers\fR եԽ褦Ȥȡ뤬ե
顼Ԥ (ǥˤεǽФ)
.SH "ץ"
.IX Header "OPTIONS"
\&\fBvisudo\fR ǤϰʲΥޥɥ饤󥪥ץ󤬻ѤǤ롣
.IP "\-c" 12
.IX Item "-c"
\&\fBcheck-only\fR ⡼ɤͭˤ롣ߤ \fIsudoers\fR ե
ʸˡååɸϤɽơ
\fIsudoers\fR ξ֤ܺ٤𤹤롣ʸˡåΣ˽ä硢
\&\fBvisudo\fR ֤ 0 ǽλ롣ʸˡ顼˽вä
֤ͤ 1 Ǥ롣
.IP "\-f \fIsudoers\fR" 12
.IX Item "-f sudoers"
\&\fIsudoers\fR եΰ֤ꡦѹ롣Υץ
դȡ \fBvisudo\fR ϥǥեȤ \fI/etc/sudoers\fR ǤϤʤ
桼 \fIsudoers\fR եԽ (뤤ϡå) 
Ȥˤʤ롣åեȤƤϡꤵ줿 \fIsudoers\fR ե
̾ \*(L".tmp\*(R" դΤȤ롣
.IP "\-q" 12
.IX Item "-q"
\&\fBquiet\fR ⡼ɤͭˤ롣Υ⡼ɤǤϡʸˡ顼ξܺپ
ɽʤΥץ˰̣Τϡ\fB\-c\fR ץ
Ȥ߹碌ȤǤ롣
.IP "\-s" 12
.IX Item "-s"
\&\fIsudoers\fR ե\fB̩\fR (\fBstrict\fR) åͭˤ롣
ꥢ˻Ѥȡ\fBvisudo\fR ʸˡ顼
ʤ褦ˤʤ櫓ۥ̾桼̾ե٥åȤʸ
 ('_') 鹽Ƥ硢Τ
ꥢȤζ̤դʤȤդƤۤ
.IP "\-V" 12
.IX Item "-V"
ץ \fB\-V\fR (version) դȡ\fBvisudo\fR 
СʥСɽơλ롣
.SH "Ķѿ"
.IX Header "ENVIRONMENT"
ʲδĶѿȤ뤫ɤϡ\fIsudoers\fR  \fIeditor\fR 
\&\fIenv_editor\fR ץͼǤ롣
.ie n .IP "\*(C`VISUAL\*(C'" 16
.el .IP "\f(CW\*(C`VISUAL\*(C'\fR" 16
.IX Item "VISUAL"
visudo ư륨ǥ
.ie n .IP "\*(C`EDITOR\*(C'" 16
.el .IP "\f(CW\*(C`EDITOR\*(C'\fR" 16
.IX Item "EDITOR"
\&\s-1VISUAL\s0 ꤵƤʤȤ visudo Ѥ륨ǥ
.SH "ե"
.IX Header "FILES"
.ie n .IP "\fI/etc/sudoers\fR" 24
.el .IP "\fI/etc/sudoers\fR" 24
.IX Item "/etc/sudoers"
ï¹ԤǤ뤫Υꥹ
.ie n .IP "\fI/etc/sudoers.tmp\fR" 24
.el .IP "\fI/etc/sudoers.tmp\fR" 24
.IX Item "/etc/sudoers.tmp"
visudo Ȥåե
.SH "åˤ"
.IX Header "DIAGNOSTICS"
.IP "sudoers file busy, try again later." 4
.IX Item "sudoers file busy, try again later."
ߡۤï \fIsudoers\fR եԽ
.ie n .IP "/etc/sudoers.tmp: Permission denied" 4
.el .IP "\f(CW@sysconfdir\fR@/sudoers.tmp: Permission denied" 4
\&\fBvisudo\fR  root ȤƼ¹Ԥʤä
.IP "Can't find you in the passwd database" 4
.IX Item "Can't find you in the passwd database"
ʤΥ桼 ID ϥƥ passwd ե˺ܤäƤʤ
.IP "Warning: {User,Runas,Host,Cmnd}_Alias referenced but not defined" 4
.IX Item "Warning: {User,Runas,Host,Cmnd}_Alias referenced but not defined"
User_Alias, Runas_Alias, Host_Alias, Cmnd_Alias Τɤ줫
ʤޤ޻Ѥ褦ȤƤ롣
뤤ϡܤ桼̾ۥ̾ˡե٥åȤʸ
 ('_') ΤߤʤΤ롣Ԥξϡ
 warning ̵뤷ƹʤ (\fBsudo\fR ϷٹФʤʤ)
\&\fB\-s\fR (strict) ⡼ɤǤϡwarning ǤϤʤerror ˤʤ롣
.IP "Warning: unused {User,Runas,Host,Cmnd}_Alias" 4
.IX Item "Warning: unused {User,Runas,Host,Cmnd}_Alias"
Ŧ줿 User_Alias (뤤ϡRunas_Alias, Host_Alias, Cmnd_Alias) 
Ƥ뤬٤ѤƤʤѤʤꥢϡ
ȥȤʤꡢõʤꤷƤ褤
\&\fB\-s\fR (strict) ⡼ɤǤϡwarning ǤϤʤerror ˤʤ롣
.SH "Ϣ"
.IX Header "SEE ALSO"
\&\fIvi\fR\|(1), \fIsudoers\fR\|(5), \fIsudo\fR\|(8), \fIvipw\fR\|(8)
.SH ""
.IX Header "AUTHOR"
\&\fIsudo\fR ˤϡ¿ο͡ĹǯϤäƼȤǤ
\fBvisudo\fR С񤤤Τϡ
.PP
.Vb 1
\& Todd Miller
.Ve
.PP
Ǥ롣ܺ٤ˤĤƤϡʪ \s-1HISTORY\s0 ե뤫
http://www.sudo.ws/sudo/history.html ˤʤäƤ
.SH "ٹ"
.IX Header "CAVEATS"
\&\fBvisudo\fR Ѥ륨ǥǥ롦פǽʤꡢ
桼롼ȡΤɻߤñˡϤʤ
.SH "Х"
.IX Header "BUGS"
\&\fBvisudo\fR ˥ХȯȻפä顢Υڡ˥ơ
ХݡȤФƤ
.br
http://www.sudo.ws/sudo/bugs/
.SH "ݡ"
.IX Header "SUPPORT"
٤̵ݡȤ sudo-users ᡼󥰥ꥹȤ̤ѤǤ롣
ɤ䥢֤θˤϲ URL ˤʤ뤳ȡ
.br
http://www.sudo.ws/mailman/listinfo/sudo\-users
.SH ""
.IX Header "DISCLAIMER"
\&\fBvisudo\fR ϡָΤޤޡ󶡤롣Ūʡ뤤ۼŪ
ʤݾڤ⡢ŪؤŬˤĤƤۼŪݾڤޤᡢ
ޤΤߤ˻ߤޤ餺ǧ롣ܺ٤ʸˤĤƤϡ
\&\fBsudo\fR ȰۤƤ \s-1LICENSE\s0 ե
 Web ڡ
.br
http://www.sudo.ws/sudo/license.html