OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / draft / man5 / suauth.5
1 .\"$Id: suauth.5,v 1.3 2001/01/25 10:43:51 kloczek Exp $
2 .\"
3 .\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
4 .\"         all rights reserved.
5 .\" Translated Fri 14 Feb 1997
6 .\"     by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
7 .\" Modified Tue 18 Sep 2002 by NAKNAO Takeo <nakano@apm.seikei.ac.jp>
8 .\"
9 .TH SUAUTH 5 "Feb 14, 1996"
10 .UC 5
11 .\"O .SH NAME
12 .SH Ì¾Á°
13 .\"O suauth \- Detailed su control file
14 suauth \- su ¤ò¾ÜºÙ¤ËÀ©¸æ¤¹¤ë¤¿¤á¤Î¥Õ¥¡¥¤¥ë
15 .\"O .SH SYNOPSIS
16 .SH ½ñ¼°
17 .B /etc/suauth
18 .\"O .SH DESCRIPTION
19 .SH ÀâÌÀ
20 .\"O The file
21 .\"O .I /etc/suauth
22 .\"O is referenced whenever the su command is called. It can change the
23 .\"O behaviour of the su command, based upon
24 .I /etc/suauth
25 ¥Õ¥¡¥¤¥ë¤Ï¡¢
26 su ¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤¿¤Ó¤Ë»²¾È¤µ¤ì¤ë¡£
27 ¤³¤Î¥Õ¥¡¥¤¥ë¤òÍѤ¤¤ë¤È¡¢
28 °Ê²¼¤Î¾ðÊó¤Ë´ð¤Å¤¤¤Æ su ¥³¥Þ¥ó¥É¤ÎÆ°ºî¤òÊѹ¹¤Ç¤­¤ë¡£
29 .PP
30 .RS
31 .nf
32 .\"O 1) the user su is targetting
33 1) su ¤ÇÀ®¤êÂå¤ï¤í¤¦¤È¤·¤Æ¤¤¤ë¥æ¡¼¥¶
34 .fi
35 .\"O 2) the user executing the su command (or any groups he might be
36 .\"O a member of)
37 2) su ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¥æ¡¼¥¶
38 (¤â¤·¤¯¤Ï¤½¤Î¥æ¡¼¥¶¤¬Â°¤¹¤ë¥°¥ë¡¼¥×¤Î¤¤¤º¤ì¤«)
39 .RE
40 .PP
41 .\"O The file is formatted like this, with lines starting with a #
42 .\"O being treated as comment lines and ignored;
43 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¼¡¤ÎÍͤʽñ¼°¤ò¤·¤Æ¤¤¤ë¡£
44 # ¤Ç»Ï¤Þ¤ë¹Ô¤Ï¥³¥á¥ó¥È¤È¤·¤Æ°·¤ï¤ì¡¢Ìµ»ë¤µ¤ì¤ë¡£
45 .PP
46 .RS
47 to-id:from-id:ACTION
48 .RE
49 .PP
50 .\"O Where to-id is either the word
51 .\"O .BR ALL ,
52 .\"O a list of usernames
53 .\"O delimited by "," or the words
54 .\"O .B ALL EXCEPT
55 .\"O followed by a list
56 .\"O of usernames delimted by ","
57 ¤³¤³¤Ç to-id ¤Ï¡¢
58 .B ALL
59 ¤È¤¤¤¦Ã±¸ì¡¢
60 ¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿¥æ¡¼¥¶Ì¾¤Î¥ê¥¹¥È¡¢
61 .B ALL EXCEPT
62 ¤È¤¤¤¦Ã±¸ì°Ê¹ß¤ËÃÖ¤«¤ì¤¿ "," ¶èÀÚ¤ê¤Î¥æ¡¼¥¶Ì¾¥ê¥¹¥È¡¢
63 ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ë¡£
64 .PP
65 .\"O from-id is formatted the same as to-id except the extra word
66 .\"O .B GROUP
67 .\"O is recognised.
68 .\"O .B ALL EXCEPT GROUP
69 .\"O is perfectly valid too.
70 .\"O Following
71 .\"O .B GROUP
72 .\"O appears one or more group names, delimited by
73 .\"O ",". It is not sufficient to have primary group id of the
74 .\"O relevant group, an entry in
75 .\"O .BR /etc/group (5)
76 .\"O is neccessary.
77 from-id ¤Ï to-id ¤ÈƱ¤¸½ñ¼°¤Ç¤¢¤ê¡¢¹¹¤Ë
78 .B GROUP
79 ¤È¤¤¤¦Ã±¸ì¤â»ÈÍѤǤ­¤ë¡£
80 .B ALL EXCEPT GROUP
81 ¤È¤¤¤¦»È¤¤Êý¤âƱÍͤËÍøÍѤǤ­¤ë¡£
82 .B GROUP
83 ¤Î¸å¤Ë¤Ï°ì¤Ä°Ê¾å¤Î¥°¥ë¡¼¥×̾¤ò "," ¤Ç¶èÀڤäƵ­¤¹¡£
84 ¤½¤Î¥°¥ë¡¼¥×¤ò¼ç¥°¥ë¡¼¥× id ¤È¤·¤Æ»ý¤Ä¤À¤±¤Ç¤Ï¤À¤á¤Ç¡¢
85 .BR /etc/group (5)
86 ¤Î¥¨¥ó¥È¥ê¤Ë¥æ¡¼¥¶Ì¾¤¬µ­¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
87 .PP
88 .\"O Action can be one only of the following currently supported
89 .\"O options.
90 ACTION ¤Ë¤Ï¡¢°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤Î¤¤¤º¤ì¤«°ì¤Ä¤ò»ØÄê¤Ç¤­¤ë¡£
91 .\"O .TP 20
92 .TP 10
93 .B DENY
94 .\"O The attempt to su is stopped before a password is even asked for.
95 ¥Ñ¥¹¥ï¡¼¥É¤òʹ¤¯Á°¤Ë su Æ°ºî¤òÃæ»ß¤¹¤ë¡£
96 .\"O .TP 20
97 .TP
98 .B NOPASS
99 .\"O The attempt to su is automatically successful; no password is
100 .\"O asked for.
101 ¼«Æ°Åª¤Ë su ¤ÏÀ®¸ù¤·¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¿Ò¤Í¤Ê¤¤¡£
102 .\"O .TP 20
103 .TP
104 .B OWNPASS
105 .\"O For the su command to be successful, the user must enter
106 .\"O his or her own password. They are told this.
107 su ¤¬À®¸ù¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
108 ¥æ¡¼¥¶¤¬¼«Ê¬¤Î¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
109 ¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ¹¤ë¤è¤¦¤ËÍ׵ᤵ¤ì¤ë¡£
110 .PP
111 .\"O Note there are three separate fields delimted by a colon. No
112 .\"O whitespace must surround this colon. Also note that the file
113 .\"O is examined sequentially line by line, and the first applicable
114 .\"O rule is used without examining the file further. This makes it
115 .\"O possible for a system administrator to exercise as fine control
116 .\"O as he or she wishes.
117 ¥³¥í¥ó¤Ë¤è¤Ã¤Æ¶èÀÚ¤é¤ì¤¿ÊÌ¡¹¤Î¥Õ¥£¡¼¥ë¥É¤¬»°¤Ä¤¢¤ëÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
118 ¥³¥í¥ó¤ÎÁ°¸å¤Ë¶õÇò¤¬¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
119 ¥Õ¥¡¥¤¥ë¤Ï°ì¹ÔËè¤Ë½çÈ֤˶ãÌ£¤µ¤ì¡¢
120 ºÇ½é¤Ë¥Þ¥Ã¥Á¤·¤¿µ¬Â§¤¬ÍѤ¤¤é¤ì¡¢
121 ¥Õ¥¡¥¤¥ë¤Î»Ä¤ê¤Ï¤½¤ì°Ê¾åÁܺº¤µ¤ì¤Ê¤¤¡£
122 ¤³¤ì¤Ë¤è¤Ã¤Æ¡¢
123 ¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï˾¤à¸Â¤ê¤ÎÈùÄ´À°¤ò¹Ô¤¦¤³¤È¤¬²Äǽ¤È¤Ê¤ë¡£
124 .\"O .SH EXAMPLE
125 .SH Îã
126 .PP
127 .nf
128 .\"O # sample /etc/suauth file
129 .\"O #
130 .\"O # A couple of privileged usernames may
131 .\"O # su to root with their own password.
132 .\"O #
133 # /etc/suauth¥Õ¥¡¥¤¥ë¤ÎÎã
134 #
135 # Æó¿Í¤ÎÆø¢¥æ¡¼¥¶¤¬¡¢¼«Ê¬¤Î¥Ñ¥¹¥ï¡¼¥É¤ò
136 # ÍѤ¤¤Æ root ¤Ë su ¤Ç¤­¤ë¡£
137 #
138 root:chris,birddog:OWNPASS
139 .\"O # 
140 .\"O # Anyone else may not su to root unless in
141 .\"O # group wheel. This is how BSD does things.
142 .\"O #
143
144 # Â¾¤Î¥æ¡¼¥¶¤Ï wheel ¥°¥ë¡¼¥×¤Ë°¤·¤Æ¤¤¤Ê¤¤¸Â¤ê
145 # root ¤Ë su ¤Ç¤­¤Ê¤¤¡£¤³¤ì¤Ï BSD ¤ÈƱ¤¸Æ°ºî¤Ç¤¢¤ë¡£
146 #
147 root:ALL EXCEPT GROUP wheel:DENY
148 .\"O #
149 .\"O # Perhaps terry and birddog are accounts
150 .\"O # owned by the same person.
151 .\"O # Access can be arranged between them
152 .\"O # with no password.
153 .\"O #
154 #
155 # ¤ª¤½¤é¤¯ terry ¤È birddog ¤ÏƱ¤¸¿Í´Ö¤¬
156 # ½êÍ­¤¹¤ë¥¢¥«¥¦¥ó¥È¤Ç¤¢¤ë¡£
157 # ¥Ñ¥¹¥ï¡¼¥É̵¤·¤Ç¸ß¤¤¤Ë¾Êý¤Ë su ¤Ç¤­¤ë¡£
158 #
159 terry:birddog:NOPASS
160 birddog:terry:NOPASS
161 #
162 .fi
163 .\"O .SH FILES
164 .SH ¥Õ¥¡¥¤¥ë
165 /etc/suauth
166 .\"O .SH BUGS
167 .SH ¥Ð¥°
168 .\"O There could be plenty lurking. The file parser is particularly
169 .\"O unforgiving about syntax errors, expecting no spurious whitespace
170 .\"O (apart from beginning and end of lines), and a specific token
171 .\"O delimiting different things.
172 ¿¤¯¤Î¥Ð¥°¤¬Àø¤ó¤Ç¤¤¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
173 ¤È¤ê¤ï¤±¡¢¥Õ¥¡¥¤¥ë¥Ñ¡¼¥¶¤Ï½ñ¼°¥¨¥é¡¼¤Ë´²Âç¤Ç¤Ï¤Ê¤¯¡¢
174 (¹Ô¤Î»Ï¤áµÚ¤Ó½ª¤ï¤ê°Ê³°¤Ë) ÌµÂ̤ʶõÇò¤¬¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¤·¡¢
175 ÆÃÄê¤Î¥È¡¼¥¯¥ó¤¬ÊÌ¡¹¤Î¤â¤Î¤ò¶èÀÚ¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
176 .\"O .SH DIAGNOSTICS
177 .SH ÊÖ¤êÃÍ
178 .\"O An error parsing the file is reported using
179 .\"O .BR syslogd (8)
180 .\"O as level ERR on
181 .\"O facility AUTH.
182 ¥Õ¥¡¥¤¥ë¤ò¥Ñ¡¼¥¹¤¹¤ëºÝ¤Î¥¨¥é¡¼¤Ï
183 .BR syslogd (8)
184 ¤òÄ̤·¤Æ¡¢AUTH ¥Õ¥¡¥·¥ê¥Æ¥£¤Î ERR ¥ì¥Ù¥ë¤ÇÄÌÃΤµ¤ì¤ë¡£
185 .\"O .SH SEE ALSO
186 .SH ´ØÏ¢¹àÌÜ
187 .BR su (1)
188 .\"O .SH AUTHOR
189 .SH Ãø¼Ô
190 .nf
191 Chris Evans (lady0110@sable.ox.ac.uk)
192 Lady Margaret Hall
193 Oxford University
194 England