File: su.1

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (169 lines) | stat: -rw-r--r-- 5,951 bytes parent folder | download | duplicates (6)
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
.\"    This file documents the GNU shell utilities.
.\" 
.\"    Copyright (C) 1994 Free Software Foundation, Inc.
.\" 
.\"    Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\" 
.\"    Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\" 
.\"    Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for modified
.\" versions, except that this permission notice may be stated in a
.\" translation approved by the Foundation.
.\" 
.\" Japanese Version Copyright (c) 1997 NAKANO Takeo, all rights reserved.
.\" Translated Thu May 26 1997 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.TH SU 1 "GNU Shell Utilities" "FSF" \" -*- nroff -*-
.SH ̾
su \- 桼 ID ȥ롼 ID ѹƥư
.SH 
.B su
[\-flmp] [\-c command] [\-s shell] [\-\-login] [\-\-fast]
[\-\-preserve-environment] [\-\-command=command] [\-\-shell=shell] [\-]
[\-\-help] [\-\-version] [user [arg...]]
.SH 
ʸϤ⤦ƥʥ󥹤ƤʤΤǡΡԴ
ʲǽ롣ߤ texinfo ʸʾȤʤäƤ롣
.PP
Υޥ˥奢ڡ GNU 
.BR su
ˤĤƵҤΤǤ롣
.B su
Ϥ桼Ū¾Υ桼ˤʤ뤿Ѥ롣
.B su

.I user
μ¥桼 ID¸桼 ID롼 IDӽ°롼
θ¤Ϳƥư롣⤷
.I user
Ϳʤä硢ǥեȤ rootʤѡ桼
롣¹Ԥ륷
.I user
Υѥɥȥ꤫򤵤롣˲񤫤Ƥʤ 
/bin/sh ¹Ԥ롣
.I user
˥ѥɤˤϡ
.B su
ϥѥɤ׵᤹ץץȤɽ롣
.B su
¹ԤΤ¥桼 ID 0 ʥѡ桼ˤξˤϥѥ
ǧڤϹԤʤ
.PP
.B su
ϥǥեȤǤϥȥǥ쥯ȥѹʤޤ
.B su

Ķѿ `HOME'  `SHELL' 
.I user
Υѥɥȥͤ˥åȤ롣ޤ
.I user
 ѡ桼ʳξˤϡĶѿ `USER'  `LOGNAME' 
.I user
˥åȤ롣ǥեȤǤϡư륷ϥ
󥷥ˤϤʤʤ
.PP
ҤȤİʾΰ
.I arg
Ϳ줿ˤϡϥϤ졢
Ȥƥղä롣
.PP
.B su
 /bin/sh 뤤ϤʳΤʤ륷̤ˤϰʤ
.\"(setting argv[0] to "-su", passing -c only to certain shells, etc.).
argv[0]  "-su" ꤷꡢ륷ˤ -c ϤꡢȤ
ȤϤʤˡ
.PP
syslog бƤ륷ƥǤϡ
.B su
ԤȤ syslog ˥ݡȤ褦˥ѥ뤹뤳
ǤݡȤ褦ˤǤˡ
.PP
Υץ "wheel group" εǽ
.B su
ˤäƥѡ桼Ȥˤʤ桼¤뵡ǽˤ򥵥ݡ
ȤʤŪʥƥԤ¾Υ桼ʸϤ򿶤
ʤ褦ˤ뤿Ǥ롣
.SS OPTIONS
.TP
.I "\-c COMMAND, \-\-command=COMMAND"
ŪʥưΤǤϤʤ
.I \-c
ץȤȤ COMMAND ʼ¹Ԥ륳ޥɥ饤ԡˤϤ
.TP
.I "\-f, \-\-fast"

.I \-f
ץϤϡʤ餯
.B csh

.BR tcsh
Τߤǰ̣ġΥǤ
.I \-f
ץꤹȡȥåץե.cshrcˤɤ߹ޤʤ
Bourne ϤΥǤ
.I \-f
ץϥե̾ѥŸ롣ξ˾
ưǤϤʤ
.TP
.I "\-\-help"
Ȥ˴ؤåɸϤɽ¹֤ƽλ롣
.TP
.I "\-, \-l, \-\-login"
󥷥ˤ롣ʤʲΤ褦ʼ갷򤹤:
٤ƤδĶѿ롣ξ `TERM' `HOME' `SHELL' 
Τ褦ꤷ `USER' `LOGNAME' ʥѡ桼ǤäƤˤƱ
ҤΤ褦ꤹ롣³ `PATH' 򥳥ѥΥǥեͤ
ꤹ롣ǥ쥯ȥ
.I user
Υۡǥ쥯ȥѹ롣̾ `-' ղä
Υȥåץեɤޤ롣
.TP
.I "\-m, \-p, \-\-preserve\-environment"
`HOME' `USER' `LOGNAME'  `SHELL' Ķѿѹʤ 
/etc/passwd ǻꤵƤ
.I user
ΥǤϤʤߤδĶѿ `SHELL' ǻꤵƤ륷¹
.B su
¹Ԥ桼ѡ桼ǤϤʤ
.I user
ˤ륷μ¹Ԥ¤ƤϤθ¤ǤϤʤ¹Ԥ¤
Ƥ륷Ȥϡ /etc/shells ˥ꥹȤƤʤ롢뤤 
/etc/shells ̵ϥѥλꥹȤ¸ߤʤΤ
ȤǤ롣Υץ󤬼¹ԤȤΰ
.I \-\-login
ޤ
.IR \-\-shell
ˤäƥС饤ɤ롣
.TP
.I "\-s, \-\-shell shell"
/etc/passwd ˵Ҥ줿
.I user
Υ
.I shell
¹Ԥ롣
.TP
.I "\-\-version"
СɸϤɽ¹֤ƽλ롣
.SH GNU su  wheel 롼פ򥵥ݡȤʤ櫓Richard Stallman
ȤꡢΥ桼ˤäơ¾Υ桼Ф򾸰褦
Ȥߤʤ뤳Ȥ롣㤨 1984 ǯ MIT AI ܤξΥ桼
 Twenex ƥΥڥ졼ѥɤѹ¤å
¾Υ桼ƿ뤳Ȥ˷ꤷʤκݤˤϻϤΥǥ
΢򤫤ͥ˥ѥåƤƸ¤֤Ȥ
줬 Unix Ǥä顢ˤϤɤФ褤狼ʤäˡ
.PP
ʤ顢ˤԤ̩ϳ餹ΤǤ롣̾ su Υᥫ
Ǥϡ̥桼¦ΩļԤ root ΥѥɤΤС
¾Υ桼ˤΤ餻뤳ȤǤ롣 "wheel group" ǽϤ
Բǽˤ̤Ȥãθ¤򶯸ǤΤˤƤޤ
.PP
罰¦ΩĤΤǤꡢŪΩˤȿФ롣ʤϥܥ
ƥԤΤ˽Ȥ˴Ƥ뤫Τʤξ
ޤΤȼȤԻ׵Ĥ˻פ٤ǤϤʤ