Debian Codegraph @

po/ru/archive/man8/sudo.8.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Александр Блохин <[email protected]>, 2007.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2025-06-26 13:20+0200\n"
9 "PO-Revision-Date: 2007-11-05 11:22+0300\n"
10 "Last-Translator: Александр Блохин <[email protected]>\n"
11 "Language-Team: Russian <[email protected]>\n"
12 "Language: ru\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
19 #. type: TH
20 #: sudo.8:9
21 #, no-wrap
22 msgid "sudo"
23 msgstr "sudo"
24
25 #. type: TH
26 #: sudo.8:9
27 #, no-wrap
28 msgid "1.15"
29 msgstr "1.15"
30
31 #. type: TH
32 #: sudo.8:9
33 #, no-wrap
34 msgid "14 Jan 2002"
35 msgstr "14 января 2002 г."
36
37 #. type: TH
38 #: sudo.8:9
39 #, no-wrap
40 msgid "ALT Linux Team"
41 msgstr "ALT Linux Team"
42
43 #. type: SH
44 #: sudo.8:10
45 #, no-wrap
46 msgid "NAME"
47 msgstr "НАЗВАНИЕ"
48
49 #. type: Plain text
50 #: sudo.8:12
51 msgid "sudo - run a command as another user"
52 msgstr "sudo - выполнить команду от имени другого пользователя"
53
54 #. type: SH
55 #: sudo.8:12
56 #, no-wrap
57 msgid "SYNOPSIS"
58 msgstr "СИНТАКСИС"
59
60 #. type: Plain text
61 #: sudo.8:15
62 msgid ""
63 "B<sudo> B<-V> | B<-h> | B<-l> | B<-L> | B<-v> | B<-k> | B<-K> | B<-s> | [ B<-"
64 "H> ] [ B<-P> ] [ B<-S> ] [ B<-b> ] | [ B<-p> I<request> ] [ B<-c> I<class>|I<-"
65 "> ] [ B<-a> I<authentication_type> ] [ B<-u> I<username>/I<#uid> ] I<command>"
66 msgstr ""
67 "B<sudo> B<-V> | B<-h> | B<-l> | B<-L> | B<-v> | B<-k> | B<-K> | B<-s> | [ B<-"
68 "H> ] [ B<-P> ] [ B<-S> ] [ B<-b> ] | [ B<-p> I<запрос> ] [ B<-c> I<класс>|I<-"
69 "> ] [ B<-a> I<тип_аутентификации> ] [ B<-u> I<имя_пользователя>/I<#uid> ] "
70 "I<команда>"
71
72 #. type: SH
73 #: sudo.8:15
74 #, no-wrap
75 msgid "DESCRIPTION"
76 msgstr "ОПИСАНИЕ"
77
78 #. type: Plain text
79 #: sudo.8:18
80 msgid ""
81 "B<sudo> allows an authorized user to execute I<command> as the superuser or "
82 "another user, as defined in the I<sudoers> file. The real and effective uid "
83 "and gid are set to match those of the target user, as defined in the passwd "
84 "file (the group vector is also initialized if the target user is not root). "
85 "By default, B<sudo> requires users to authenticate with a password (REMEMBER: "
86 "this is the user's password, not the root password). Once the user has "
87 "authenticated, the timestamp is updated and the user can use sudo for a "
88 "period of time without a password (five minutes by default, unless otherwise "
89 "specified in I<sudoers>)."
90 msgstr ""
91 "B<sudo> позволяет разрешенному пользователю выполнять I<команду> как "
92 "суперпользователь или другой пользователь, как определено в файле I<sudoers>. "
93 "Реальный и эффективный uid и gid при этом устанавливаются так, чтобы "
94 "соответствовать таковым целевого пользователя, как определено в файле passwd "
95 "(также инициализируется вектор группы, если целевой пользователь - не root). "
96 "По умолчанию B<sudo> требует, что бы пользователи аутентифицировали себя при "
97 "помощи пароля (ЗАПОМНИТЕ: это пароль пользователя, не пароль root). Как "
98 "только пользователь аутентифицировал себя происходит обновление временной "
99 "метки и пользователь может использовать sudo некоторый период времени без "
100 "пароля (по умолчанию пять минут, если в I<sudoers> не указано другое)."
101
102 #. type: Plain text
103 #: sudo.8:21
104 msgid ""
105 "B<sudo> determines who is an authorized user by checking the I<etc>/sudoers> "
106 "file and all files with a matching name in the I<etc>/sudo.d> directory. By "
107 "specifying the B<-v> flag to B<sudo>, the user can update the timestamp "
108 "without executing the I<command>. The password prompt also expires if the "
109 "user doesn't enter a password within 5 minutes (unless overridden in "
110 "I<sudoers>)."
111 msgstr ""
112 "B<sudo> определяет, кто является авторизованным пользователем сверяясь с "
113 "файлом I</etc/sudoers> и всеми файлами с подходящим названием в каталоге I</"
114 "etc/sudo.d>. Указав для B<sudo> флаг B<-v> пользователь может обновить "
115 "временную метку без выполнения I<команды>. Строка приглашения для ввода "
116 "пароля так же устаревает, если пользователь не введёт пароль в течение 5 "
117 "минут (если в I<sudoers> не переопределено другое)."
118
119 #. type: Plain text
120 #: sudo.8:23
121 msgid ""
122 "If a user not listed in the I<sudoers> file attempts to execute a B<sudo> "
123 "command, an email message will be sent to the authorized user, as defined "
124 "during configuration or in the I<sudoers> file (root by default). Note that "
125 "the message will not be sent if an unauthorized user attempts to execute sudo "
126 "with the B<-l> or B<-v> flags. This allows users to determine whether they "
127 "are allowed to use B<sudo> or not."
128 msgstr ""
129 "Если не указанный в файле I<sudoers> пользователь попытается выполнить при "
130 "помощи B<sudo> команду, то уполномоченному пользователю будет отправлено "
131 "почтовое сообщение, как определено во время конфигурации или в файле "
132 "I<sudoers> (по умолчанию это root). Обратите внимание, что сообщение не будет "
133 "отправлено, если неавторизованный пользователь пытается выполнить sudo с "
134 "флагами B<-l> или B<-v>. Это позволяет пользователям определить - разрешено "
135 "им использовать B<sudo> или нет."
136
137 #. type: Plain text
138 #: sudo.8:25
139 msgid ""
140 "B<sudo> can log both successful and unsuccessful attempts (as well as errors) "
141 "using the system event log I<syslog>\\|(3), its own log, or a combination of "
142 "both. By default, B<sudo> logs events via I<syslog>\\|(3), but this can be "
143 "changed at configuration time or in the I<sudoers> file."
144 msgstr ""
145 "B<sudo> может регистрировать оба типа попыток, успешные и не удачные, (так же "
146 "как и ошибки) при помощи системного журнала регистрации событий I<syslog>\\|"
147 "(3), собственного журнала, или с использованием обоих вариантов. По умолчанию "
148 "B<sudo> регистрирует события через I<syslog>\\|(3), но это можно изменить во "
149 "время конфигурации или в файле I<sudoers>."
150
151 #. type: SH
152 #: sudo.8:25
153 #, no-wrap
154 msgid "PARAMETERS"
155 msgstr "ПАРАМЕТРЫ"
156
157 #. type: Plain text
158 #: sudo.8:27
159 msgid "B<sudo> accepts the following command line options:"
160 msgstr "B<sudo> акцептирует следующие параметры командной строки:"
161
162 #. type: TP
163 #: sudo.8:27
164 #, no-wrap
165 msgid "-V"
166 msgstr "-V"
167
168 #. type: Plain text
169 #: sudo.8:30
170 msgid ""
171 "The B<-V> (I<version>) parameter causes B<sudo> to display the version number "
172 "and exit. If the initiating user is root, the B<-V> parameter will display a "
173 "list of the default values ​​with which B<sudo> was built, including the local "
174 "network addresses of the machine."
175 msgstr ""
176 "Параметр B<-V> (I<версия>) заставляет B<sudo> показать номер версии и выйти. "
177 "Если пользователем инициировавшим вызов является root, то параметр B<-V> "
178 "отобразит список значений по умолчанию с которыми был собран B<sudo>, в том "
179 "числе локальные сетевые адреса машины."
180
181 #. type: TP
182 #: sudo.8:30
183 #, no-wrap
184 msgid "-l"
185 msgstr "-l"
186
187 #. type: Plain text
188 #: sudo.8:33
189 msgid ""
190 "The B<-l> (I<list>) parameter will list the allowed (and disallowed) commands "
191 "for the user on the given machine."
192 msgstr ""
193 "Параметр B<-l> (I<список>) перечислит дозволенные (и запрещенные) команды для "
194 "пользователя на данной машине."
195
196 #. type: TP
197 #: sudo.8:33
198 #, no-wrap
199 msgid "-L"
200 msgstr "-L"
201
202 #. type: Plain text
203 #: sudo.8:36
204 msgid ""
205 "The B<-L> (I<list> defaults) option displays a list of options that can be "
206 "set in the I<Defaults> line, with a brief description of each. This option is "
207 "useful in combination with I<grep>\\|(1)."
208 msgstr ""
209 "Параметр B<-L> (I<список> по умолчанию) отобразит список параметров, которые "
210 "могут быть установлены в строке I<Defaults>, с кратким описанием каждого. "
211 "Этот параметр полезен в сочетании с I<grep>\\|(1)."
212
213 #. type: TP
214 #: sudo.8:36
215 #, no-wrap
216 msgid "-h"
217 msgstr "-h"
218
219 #. type: Plain text
220 #: sudo.8:39
221 msgid ""
222 "The B<-h> (I<help>) option will cause B<sudo> to display usage help and exit."
223 msgstr ""
224 "Параметр B<-h> (I<помощь>) заставит B<sudo> показать справку об использовании "
225 "и выйти."
226
227 #. type: TP
228 #: sudo.8:39
229 #, no-wrap
230 msgid "-v"
231 msgstr "-v"
232
233 #. type: Plain text
234 #: sudo.8:42
235 msgid ""
236 "If the B<-v> (I<identify>) option is specified, B<sudo> will update the "
237 "user's timestamp, prompting the user for a password if necessary. This will "
238 "extend the expiration of B<sudo>'s old password for the next 5 minutes (or as "
239 "long as specified in I<sudoers>), but does not require executing any commands."
240 msgstr ""
241 "Если указан параметр B<-v> (I<идентифицировать>), B<sudo> обновит временную "
242 "метку пользователя, предложив пользователю, если необходимо, указать пароль. "
243 "Это продлит срок действия прежнего пароля B<sudo> на следующие 5 минут (или "
244 "на тот срок, который указан в I<sudoers>), но не требует при этом выполнения "
245 "какой-либо команды."
246
247 #. type: TP
248 #: sudo.8:42
249 #, no-wrap
250 msgid "-k"
251 msgstr "-k"
252
253 #. type: Plain text
254 #: sudo.8:45
255 msgid ""
256 "Specifying the B<sudo> option B<-k> (I<kill>) invalidates the user's "
257 "timestamp, setting it to the beginning of the century. The next time B<sudo> "
258 "is run, a password will be required. This operation does not require a "
259 "password and was added to allow the user to revoke B<sudo>'s privileges from "
260 "the .logout file."
261 msgstr ""
262 "Указание для B<sudo> параметра B<-k> (I<уничтожить>) лишает законной силы "
263 "временную метку пользователя, устанавливая время на начало века. При "
264 "следующем выполнении B<sudo> потребуется указать пароль. Эта операция не "
265 "требует указания пароля и была добавлена, чтобы позволить пользователю "
266 "аннулировать права B<sudo> из файла .logout."
267
268 #. type: TP
269 #: sudo.8:45
270 #, no-wrap
271 msgid "-K"
272 msgstr "-K"
273
274 #. type: Plain text
275 #: sudo.8:48
276 msgid ""
277 "The B<-K> (I<kill> for sure) option for B<sudo> completely removes the user's "
278 "timestamp. This option also doesn't require a password."
279 msgstr ""
280 "Параметр B<-K> (I<уничтожить> наверняка) для B<sudo> полностью удаляет "
281 "временную метку пользователя. Этот параметр тоже не требует указания пароля."
282
283 #. type: TP
284 #: sudo.8:48
285 #, no-wrap
286 msgid "-b"
287 msgstr "-b"
288
289 #. type: Plain text
290 #: sudo.8:51
291 msgid ""
292 "The B<-b> (I<background>) option tells B<sudo> to run the specified command "
293 "in the background. If you use the B<-b> option, you won't be able to use "
294 "control over running shell processes to manipulate commands."
295 msgstr ""
296 "Параметр B<-b> (I<фон>) сообщает B<sudo> выполнить заданную команду в фоновом "
297 "режиме. Если вы используете параметр B<-b>, то вы не сможете использовать "
298 "контроль над запущенными процессами оболочки для манипуляций командами."
299
300 #. type: TP
301 #: sudo.8:51
302 #, no-wrap
303 msgid "-p"
304 msgstr "-p"
305
306 #. type: Plain text
307 #: sudo.8:54
308 msgid ""
309 "The B<-p> (I<prompt>) parameter allows you to override the default appearance "
310 "of the system prompt. If the prompt contains the B<%u> control character, "
311 "B<%u> will be replaced with the user's login name. Similarly, B<%h> can be "
312 "replaced with the computer name."
313 msgstr ""
314 "Параметр B<-p> (I<приглашение>) позволяет переопределить внешний вид "
315 "приглашения в систему по умолчанию. Если вид приглашения содержит управляющий "
316 "символ B<%u>, то B<%u> будет заменен учетным именем пользователя. Аналогично "
317 "B<%h> может быть заменено на имя компьютера."
318
319 #. type: TP
320 #: sudo.8:54
321 #, no-wrap
322 msgid "-c"
323 msgstr "-c"
324
325 #. type: Plain text
326 #: sudo.8:57
327 msgid ""
328 "The B<-c> (I<class>) option causes B<sudo> to execute the specified command "
329 "with the resource restrictions appropriate for the specified user class. The "
330 "I<class> option can be either the name of a class specified in /etc/"
331 "login.conf or the \\*(L'-\\*(R' character. Specifying I<class> with \\*(L'-"
332 "\\*(R' means that the command will be executed with the privileges of the "
333 "user under which the command is executed. If the I<class> option specifies "
334 "the current user class, the command must be executed as root, or the B<sudo> "
335 "command must be executed from a superuser (root) shell. This option is "
336 "available with the BSD login class, where B<sudo> was configured with the B<--"
337 "with-logincap> option."
338 msgstr ""
339 "Параметр B<-c> (I<класс>) заставляет B<sudo> выполнить определенную команду с "
340 "ограничением ресурсов, свойственным указанному классу пользователя. Параметр "
341 "I<класс> может быть либо именем класса, указанным в /etc/login.conf, или "
342 "знаком \\*(L'-\\*(R'. Указание I<класс> с помощью \\*(L'-\\*(R' означает, что "
343 "команда будет выполнена с учетом прав того пользователя, от имени которого "
344 "эта команда выполняется. Если параметр I<класс> указывает на текущий класс "
345 "пользователя, то команда должна быть выполнена от имени root, или команда "
346 "B<sudo> должна выполняться из оболочки суперпользователя (root). Этот "
347 "параметр доступен с BSD-классом входа в систему, где B<sudo> был "
348 "сконфигурирован с параметром B<--with-logincap>."
349
350 #. type: TP
351 #: sudo.8:57
352 #, no-wrap
353 msgid "-а"
354 msgstr "-а"
355
356 #. type: Plain text
357 #: sudo.8:60
358 msgid ""
359 "The B<-a> (I<authentication type>) parameter forces B<sudo> to use the "
360 "specified authentication type when identifying a user, according to /etc/"
361 "login.conf. The system administrator can specify a list of authentication "
362 "methods suitable for sudo by adding the \"auth-sudo\" entry to /etc/"
363 "login.conf. This parameter is only available on systems that support the BSD "
364 "authentication type, if B<sudo> was configured with the B<--with-bsdauth> "
365 "parameter."
366 msgstr ""
367 "Параметр B<-а> (I<тип аутентификации>) принуждает B<sudo> при идентификации "
368 "пользователя использовать указанный тип аутентификации, в соответствии с /etc/"
369 "login.conf. Системный администратор может указать перечень подходящих для "
370 "sudo методов аутентификации путём добавления в /etc/login.conf записи \"auth-"
371 "sudo\". Этот параметр доступен только на системах поддерживающих BSD-тип "
372 "аутентификации, если B<sudo> был сконфигурирован с параметром B<--with-"
373 "bsdauth>."
374
375 #. type: TP
376 #: sudo.8:60
377 #, no-wrap
378 msgid "-u"
379 msgstr "-u"
380
381 #. type: Plain text
382 #: sudo.8:63
383 msgid ""
384 "The B<-u> (I<user>) option causes B<sudo> to run the specified command as a "
385 "user other than I<root>. To specify I<uid> instead of I<username>, use "
386 "I<#uid>."
387 msgstr ""
388 "Параметр B<-u> (I<пользователь>) вызывает B<sudo> для выполнения указанной "
389 "команды от имени пользователя, отличного от I<root>. Для указания I<uid> "
390 "вместо I<имени пользователя>, используйте I<#uid>."
391
392 #. type: TP
393 #: sudo.8:63
394 #, no-wrap
395 msgid "-s"
396 msgstr "-s"
397
398 #. type: Plain text
399 #: sudo.8:66
400 msgid ""
401 "The B<-s> (I<shell>) option starts the command interpreter specified by the "
402 "I<SHELL> environment variable, or the shell specified by I<passwd>\\|(5)."
403 msgstr ""
404 "Параметр B<-s> (I<оболочка>) запускает командный интерпретатор, определенный "
405 "переменной окружения I<SHELL>, или оболочку указанную в I<passwd>\\|(5)."
406
407 #. type: TP
408 #: sudo.8:66
409 #, no-wrap
410 msgid "-H"
411 msgstr "-H"
412
413 #. type: Plain text
414 #: sudo.8:69
415 msgid ""
416 "The B<-H> (I<HOME>) option sets the value of the I<HOME> environment variable "
417 "to the home directory of the target user (root by default), as defined in "
418 "I<passwd>\\|(5). By default, B<sudo> does not change I<HOME>."
419 msgstr ""
420 "Параметр B<-H> (I<HOME>) устанавливает значение переменной окружения I<HOME> "
421 "к домашнему каталогу целевого пользователя (по умолчанию root), определенную "
422 "в I<passwd>\\|(5). По умолчанию B<sudo> не изменяет I<HOME>."
423
424 #. type: TP
425 #: sudo.8:69
426 #, no-wrap
427 msgid "-Р"
428 msgstr "-Р"
429
430 #. type: Plain text
431 #: sudo.8:72
432 msgid ""
433 "The B<-P> (I<preserve group vector>) option tells B<sudo> to preserve the "
434 "user's group vector unchanged. By default, B<sudo> initializes the group "
435 "vector to the list of groups to which the target user belongs. However, the "
436 "real and effective group IDs are assigned to match the target user."
437 msgstr ""
438 "Параметр B<-P> (I<сохранить вектор группы>) сообщает B<sudo> о необходимости "
439 "сбережения вектора группы пользователя в неизменном виде. По умолчанию "
440 "B<sudo> инициализирует групповой вектор к списку групп, к которым принадлежит "
441 "целевой пользователь. Однако, реальный и эффективный идентификаторы групп "
442 "назначаются соответствующими целевому пользователю."
443
444 #. type: TP
445 #: sudo.8:72
446 #, no-wrap
447 msgid "-S"
448 msgstr "-S"
449
450 #. type: Plain text
451 #: sudo.8:75
452 msgid ""
453 "The B<-S> (I<stdin>) option causes B<sudo> to read the password from standard "
454 "input instead of the terminal."
455 msgstr ""
456 "Параметр B<-S> (I<stdin>) заставляет B<sudo> считывать пароль со стандартного "
457 "ввода вместо терминала."
458
459 #. type: TP
460 #: sudo.8:75
461 #, no-wrap
462 msgid "--"
463 msgstr "--"
464
465 #. type: Plain text
466 #: sudo.8:78
467 msgid ""
468 "The B<--> flag indicates that B<sudo> should stop executing command-line "
469 "options. This is useful in combination with the B<-s> flag."
470 msgstr ""
471 "Флаг B<--> обозначает, что B<sudo> должен прекратить выполнение параметров "
472 "командной строки. Это полезно в сочетании с флагом B<-s>."
473
474 #. type: SH
475 #: sudo.8:78
476 #, no-wrap
477 msgid "RETURN CODES"
478 msgstr "КОДЫ ВОЗВРАТА"
479
480 #. type: Plain text
481 #: sudo.8:81
482 msgid ""
483 "If successful, the return value of B<sudo> will be the return value of the "
484 "executed program."
485 msgstr ""
486 "В случае успешного выполнения возвращаемым значением B<sudo> будет "
487 "возвращаемое значение выполненной программы."
488
489 #. type: Plain text
490 #: sudo.8:83
491 msgid ""
492 "Otherwise, B<sudo> exits with a value of 1 if it encounters configuration/"
493 "permission problems or if B<sudo> is unable to execute the given command. In "
494 "the latter case, an error message will be printed to stderr. If B<sudo> is "
495 "unable to obtain I<stat>\\|(2) for one or more entries in the user's PATH, an "
496 "error message will be printed to stderr. (If the directory does not exist, or "
497 "if it is not actually a directory, its entry will be ignored and no error "
498 "will be reported.) Under normal circumstances, this should not happen. The "
499 "most common reason for I<stat>\\|(2) to return \"permission denied\" is if "
500 "you have enabled automatic drive mounting and one of the directories in your "
501 "PATH is on a machine that is not currently accessible."
502 msgstr ""
503 "В противном случае B<sudo> завершает работу со значением 1, если обнаруживает "
504 "проблемы в конфигурации/правах доступа или B<sudo> не в состоянии выполнить "
505 "заданную команду. В последнем случае сообщение об ошибке будет выведено в "
506 "stderr. Если B<sudo> не в состоянии получить I<stat>\\|(2) на одну или болееe "
507 "запись в пользовательском PATH, то сообщение об ошибке будет выведено на "
508 "stderr. (Если каталог не существует или если это на самом деле не каталог, "
509 "запись о нем будет игнорирована и об ошибке сообщено не будет.) При "
510 "нормальных обстоятельствах этого не должно произойти. Наиболее частая причина "
511 "возврата от I<stat>\\|(2) \"permission denied\", если вы запустили "
512 "автоматическое монтирование дисков и один из каталогов в вашем PATH находится "
513 "на машине, которая в настоящий момент не доступна."
514
515 #. type: SH
516 #: sudo.8:83
517 #, no-wrap
518 msgid "SAFETY NOTES"
519 msgstr "ПРИМЕЧАНИЯ ПО БЕЗОПАСНОСТИ"
520
521 #. type: Plain text
522 #: sudo.8:86
523 msgid ""
524 "B<sudo> attempts to be secure when executing external commands. Variables "
525 "that control dynamic loading and linking can be used to destroy programs "
526 "executed by B<sudo>. To combat this, the environment variables LD_*, _RLD_*, "
527 "SHLIB_PATH (HP-UX only), and LIBPATH (AIX only) are removed from the "
528 "environment accessible to commands executed globally. B<sudo> also removes "
529 "the variables IFS, ENV, BASH_ENV, KRB_CONF, KRB5_CONFIG, LOCALDOMAIN, "
530 "RES_OPTIONS, HOSTALIASES, NLSPATH, PATH_LOCALE, TERMINFO, TERMINFO_DIRS, and "
531 "TERMPATH, as they can also pose a threat. If TERMPATH is set and is a "
532 "pathname, it is also ignored. Additionally, if the LC_* or LANGUAGE variables "
533 "contain the / or % characters, they will be ignored. If B<sudo> was built "
534 "with SecurID support, the VAR_ACE, USR_ACE, and DLC_ACE variables will also "
535 "be cleared. A list of variables to be cleared by B<sudo> can be printed in "
536 "the output of the sudo -V command, executed as root."
537 msgstr ""
538 "B<sudo> пытается быть безопасной при выполнении внешних команд. Переменные, "
539 "контролирующие выполнение динамической загрузки и связей, могут быть "
540 "использованы для уничтожения программ выполняемых B<sudo>. Для борьбы с этим, "
541 "переменные окружения LD_*, _RLD_*, SHLIB_PATH (только HP-UX) и LIBPATH "
542 "(только AIX), изъяты из окружения доступного для команд выполняемых всеми. "
543 "B<sudo> также изымает переменные IFS, ENV, BASH_ENV, KRB_CONF, KRB5_CONFIG, "
544 "LOCALDOMAIN, RES_OPTIONS, HOSTALIASES, NLSPATH, PATH_LOCALE, TERMINFO, "
545 "TERMINFO_DIRS И TERMPATH, поскольку они тоже могут представлять угрозу. Если "
546 "установлена переменная TERMPATH и является именем пути, то она также будет "
547 "игнорирована. Дополнительно, если переменные LC_* или LANGUAGE содержат "
548 "символы / или %, то они будут игнорированы. Если B<sudo> було собрано с "
549 "поддержкой SecurID, то переменные VAR_ACE, USR_ACE и DLC_ACE будут также "
550 "очищены. Список переменных, подлежащих очистке со стороны B<sudo>, может быть "
551 "распечатан в вывод команды sudo -V, выполненной от имени суперпользователя "
552 "(root)."
553
554 #. type: Plain text
555 #: sudo.8:88
556 msgid ""
557 "To prevent command spoofing, B<sudo> checks \".\" and \"\" (both refer to the "
558 "current directory) last when searching for a command in the user's PATH (if "
559 "either is in the PATH). However, note that the actual B<PATH> environment "
560 "variable is not modified and is passed unmodified to the program executed by "
561 "B<sudo>."
562 msgstr ""
563 "Во избежание подмены команд B<sudo> проверяет \".\" и \"\" (оба указывают на "
564 "текущий каталог), когда осуществляет поиск команды в пользовательском PATH "
565 "(если один из них есть в PATH) в последнюю очередь. Однако, обратите "
566 "внимание, что фактическая переменная окружения B<PATH> I<не> модифицирована и "
567 "передается программе, выполняемой B<sudo>, в неизмененном виде."
568
569 #. type: Plain text
570 #: sudo.8:90
571 msgid ""
572 "For security reasons, if your OS supports shared libraries and does not "
573 "disable the user search path for setuid programs (most common), you should "
574 "use linker options that disable this feature or link B<sudo> statically."
575 msgstr ""
576 "Из соображений безопасности, если ваша ОС поддерживает разделяемые библиотеки "
577 "и не отключает пользовательский путь поиска для программ использующих setuid "
578 "(чаще всего), вы должны использовать параметры линковщика которые исключают "
579 "такую возможность или линкуют B<sudo> статически."
580
581 #. type: Plain text
582 #: sudo.8:93
583 msgid ""
584 "B<sudo> checks the ownership of the directory containing timestamps (by "
585 "default, I</var/run/sudo>) and ignores directories with contents not owned by "
586 "root and writable only by root. On systems that allow unprivileged users to "
587 "grant file permissions via I<chown>\\|(2), if the timestamp is in a world-"
588 "writable directory (e.g., I</tmp>), it is possible for a user to create the "
589 "directory containing the timestamp before B<sudo> is executed. However, since "
590 "B<sudo> checks the ownership and permissions of the directory and its "
591 "contents, harm can only be caused by \"hidden\" files placed in the timestamp "
592 "directory. This is unlikely to happen if the timestamp directories are owned "
593 "by the superuser and are not writable by other users. To work around this "
594 "problem, you can use a directory to store timestamps (e.g. I</var/adm/sudo>) "
595 "that is not writable by anyone, or create I</var/run/sudo> with the "
596 "appropriate owner (root) and permissions (0700) in the system startup files."
597 msgstr ""
598 "B<sudo> проверяет принадлежность каталога содержащего временные метки (по "
599 "умолчанию это I</var/run/sudo>) и игнорирует каталоги с содержимым не "
600 "принадлежащим root и доступным на запись только для root. В системах, "
601 "позволяющих не привилегированным пользователям передавать права на файлы "
602 "через I<chown>\\|(2), если временная метка находится в каталоге доступном для "
603 "записи для всех (т.е.: I</tmp>), то возможна ситуация, когда пользователь "
604 "создаст каталог каталог содержащий временную метку прежде, чем будет "
605 "выполнено B<sudo>. Однако, так как B<sudo> проверяет права владения и режим "
606 "доступа каталога и его содержимого, то вред может быть нанесён только "
607 "\"скрытыми\" файлами, помещенными в каталог с временными метками. Это вряд "
608 "ли случится в том случае, если владельцем каталогов с временными метками "
609 "является суперпользователь и они не доступны для других пользователей для "
610 "записи в них. Что бы обойти эту проблему вы можете использовать каталог для "
611 "хранения временных меток (например I</var/adm/sudo>), никому не доступный для "
612 "записи, или создать I</var/run/sudo>, с соответствующими владельцем (root) и "
613 "правами доступа (0700) в системных файлах запуска."
614
615 #. type: Plain text
616 #: sudo.8:97
617 msgid ""
618 "B<sudo> ignores timestamps with creation dates in the distant future. "
619 "Timestamps with a date greater than the present time + 2 * TIMEOUT will be "
620 "ignored, logged by sudo, and a warning will be sent to the authorized user. "
621 "This is done to prevent the creation of timestamps with fake dates that could "
622 "allow files to be served to users."
623 msgstr ""
624 "B<sudo> игнорирует временные метки с датой создания в далеком будущем. "
625 "Временные метки с датой большей, чем настоящий момент времени + 2 * TIMEOUT "
626 "будут игнорироваться, регистрироваться sudo и уполномоченному пользователю "
627 "будет послано предупреждение. Это сделано во избежание создания временных "
628 "меток с поддельными датами, которые позволят отдавать файлы пользователям."
629
630 #. type: Plain text
631 #: sudo.8:99
632 msgid ""
633 "Note that B<sudo> logs only explicitly executed commands. If a user executes "
634 "a command such as sudo su or sudo sh, commands executed from these shells "
635 "will not be logged and will not be affected by B<sudo>'s access controls. The "
636 "same is true for commands that allow the use of control characters (including "
637 "most editors). Therefore, care must be taken when granting users access to "
638 "execute commands via B<sudo>, to avoid inadvertently granting the user access "
639 "to the superuser (root) shell."
640 msgstr ""
641 "Обратите внимание, что B<sudo> регистрирует только явно выполненные команды. "
642 "Если пользователь выполняет такую команду как sudo su или sudo sh, то команды "
643 "выполненные из этих оболочек I<не> будут запротоколированы и при этом их не "
644 "затронет управление доступом B<sudo>. Тоже-самое верно по отношению к "
645 "командам, допускающим использование управляющих символов (включая большинство "
646 "редакторов). В связи с этим должна быть проявлена осторожность при "
647 "предоставление пользователям доступа к выполнению команд посредством B<sudo>, "
648 "во-избежание нечаянного предоставления пользователю доступа к оболочке "
649 "суперпользователя (root)."
650
651 #. type: SH
652 #: sudo.8:99
653 #, no-wrap
654 msgid "EXAMPLES"
655 msgstr "ПРИМЕРЫ"
656
657 #. type: Plain text
658 #: sudo.8:101
659 msgid "Note: The following examples contain working I<sudoers>\\|(5) entries."
660 msgstr ""
661 "Внимание: следующие примеры содержат работающие записи I<sudoers>\\|(5)."
662
663 #. type: Plain text
664 #: sudo.8:103
665 msgid "To get a list of files in a read-only directory:"
666 msgstr "Для получения списка файлов в каталоге закрытом для чтения:"
667
668 #. type: Plain text
669 #: sudo.8:106
670 #, no-wrap
671 msgid " sudo ls /usr/local/protected\n"
672 msgstr " sudo ls /usr/local/protected\n"
673
674 #. type: Plain text
675 #: sudo.8:109
676 msgid ""
677 "To list the files in the home directory of user yazza on a machine where the "
678 "file system containing ~yazza is not positioned as the root:"
679 msgstr ""
680 "Для получения списка файлов домашнего каталога пользователя yazza на машине, "
681 "где файловая система, содержащая ~yazza не позиционируется как корневая:"
682
683 #. type: Plain text
684 #: sudo.8:112
685 #, no-wrap
686 msgid " sudo -u yazza ls ~yazza\n"
687 msgstr " sudo -u yazza ls ~yazza\n"
688
689 #. type: Plain text
690 #: sudo.8:115
691 msgid "To edit file I<index.html> as user www:"
692 msgstr "Для редактирования файла I<index.html> как пользователь www:"
693
694 #. type: Plain text
695 #: sudo.8:118
696 #, no-wrap
697 msgid " sudo -u www vi ~www/htdocs/index.html\n"
698 msgstr " sudo -u www vi ~www/htdocs/index.html\n"
699
700 #. type: Plain text
701 #: sudo.8:121
702 msgid "To turn off your computer:"
703 msgstr "Для выключения компьютера:"
704
705 #. type: Plain text
706 #: sudo.8:124
707 #, no-wrap
708 msgid " sudo shutdown -r +15 \"quick reboot\"\n"
709 msgstr " sudo shutdown -r +15 \"quick reboot\"\n"
710
711 #. type: Plain text
712 #: sudo.8:127
713 msgid ""
714 "To create a list of directory space occupied by directories in the /home "
715 "partition. Note that this is done in a subshell to perform B<cd> and file "
716 "redirection."
717 msgstr ""
718 "Для создания списка занимаемого каталогами места в партиции /home. Обратите "
719 "внимание, что это выполняется в под-оболочке (sub-shell) для выполнения B<cd> "
720 "и переадресации файла."
721
722 #. type: Plain text
723 #: sudo.8:130
724 #, no-wrap
725 msgid " sudo sh -c \"cd /home ; du -s * | sort -rn E<gt> USAGE\"\n"
726 msgstr " sudo sh -c \"cd /home ; du -s * | sort -rn E<gt> USAGE\"\n"
727
728 #. type: SH
729 #: sudo.8:132
730 #, no-wrap
731 msgid "VARIABLES"
732 msgstr "ПЕРЕМЕННЫЕ"
733
734 #. type: Plain text
735 #: sudo.8:134
736 msgid "B<sudo> uses the following system variables:"
737 msgstr "B<sudo> использует следующие системные переменные:"
738
739 #. type: Plain text
740 #: sudo.8:137
741 msgid "PATH Set to normal value if SECURE_PATH is set."
742 msgstr "PATH Установленную в нормальное значение, если установлен SECURE_PATH."
743
744 #. type: Plain text
745 #: sudo.8:140
746 msgid "SHELL Used to specify the shell to start with the -s option."
747 msgstr "SHELL Используется для указания оболочки для запуска с параметром -s."
748
749 #. type: Plain text
750 #: sudo.8:143
751 msgid ""
752 "USER Set to the target user (root, unless otherwise specified with the -u "
753 "parameter)."
754 msgstr ""
755 "USER Устанавливается к целевому пользователю (root, если параметром -u не "
756 "определено другое)."
757
758 #. type: Plain text
759 #: sudo.8:148
760 msgid ""
761 "HOME In the -s or -H option (or if sudo was configured with the --enable-"
762 "shell-sets-home option), points to the home directory of the target user."
763 msgstr ""
764 "HOME В варианте -s или -H (или если sudo было сконфигурировано с параметром --"
765 "enable-shell-sets-home) указывает на домашний каталог целевого пользователя."
766
767 #. type: Plain text
768 #: sudo.8:151
769 msgid "SUDO_PROMPT Used as the default password hint."
770 msgstr "SUDO_PROMPT Используется как заданная по умолчанию подсказка пароля."
771
772 #. type: Plain text
773 #: sudo.8:154
774 msgid "SUDO_COMMAND Set to commands executed by sudo."
775 msgstr "SUDO_COMMAND Установлено на команды, выполняемые sudo."
776
777 #. type: Plain text
778 #: sudo.8:158
779 #, no-wrap
780 msgid "SUDO_USER Set to the login user who is allowed to invoke sudo."
781 msgstr "SUDO_USER Установлено на вход в систему пользователя, которому разрешено вызывать sudo."
782
783 #. type: Plain text
784 #: sudo.8:161
785 msgid "SUDO_UID Set to the uid of the user who is allowed to invoke sudo."
786 msgstr ""
787 "SUDO_UID Установлено на uid пользователя, которому разрешено вызывать sudo."
788
789 #. type: Plain text
790 #: sudo.8:164
791 msgid "SUDO_GID Set to the gid of the user who called sudo."
792 msgstr "SUDO_GID Установлено на gid пользователя, кто вызвал sudo."
793
794 #. type: Plain text
795 #: sudo.8:167
796 msgid "SUDO_PS1 If set, PS1 will be set to this value."
797 msgstr "SUDO_PS1 Если установлено, PS1 будет установлен на это значение."
798
799 #. type: SH
800 #: sudo.8:168
801 #, no-wrap
802 msgid "FILES"
803 msgstr "ФАЙЛЫ"
804
805 #. type: Plain text
806 #: sudo.8:173
807 msgid ""
808 "/etc/sudoers /etc/sudo.d/* Описание того, кто и какие команды может выполнять"
809 msgstr ""
810 "/etc/sudoers /etc/sudo.d/* Описание того, кто и какие команды может выполнять"
811
812 #. type: Plain text
813 #: sudo.8:176
814 msgid "/var/run/sudo Directory containing timestamps"
815 msgstr "/var/run/sudo Каталог содержащий временные метки"
816
817 #. type: SH
818 #: sudo.8:177
819 #, no-wrap
820 msgid "AUTHORS"
821 msgstr "АВТОРЫ"
822
823 #. type: Plain text
824 #: sudo.8:179
825 msgid ""
826 "Many people have been working on B<sudo> for years. This version contains "
827 "code primarily written by:"
828 msgstr ""
829 "Многие люди годами работали над B<sudo>. Эта версия содержит код написанного "
830 "прежде всего:"
831
832 #. type: Plain text
833 #: sudo.8:183
834 #, no-wrap
835 msgid ""
836 " Todd Miller\n"
837 " Chris Jepeway\n"
838 msgstr ""
839 " Todd Miller\n"
840 " Chris Jepeway\n"
841
842 #. type: Plain text
843 #: sudo.8:186
844 msgid ""
845 "For a brief history of B<sudo>, see the HISTORY file in the distribution or "
846 "on the Internet at http://www.sudo.ws/sudo/history.html."
847 msgstr ""
848 "Краткую историю B<sudo> смотри в файле HISTORY в дистрибутиве или в интернете "
849 "по адресу http://www.sudo.ws/sudo/history.html."
850
851 #. type: SH
852 #: sudo.8:190
853 #, no-wrap
854 msgid "BUGS"
855 msgstr "ОШИБКИ"
856
857 #. type: Plain text
858 #: sudo.8:192
859 msgid ""
860 "If you think you've found a bug in sudo, please submit a bug report to: "
861 "http://www.courtesan.com/sudo/bugs/"
862 msgstr ""
863 "Если вам кажется, что вы нашли ошибку в sudo, то отправьте рапорт об ошибке "
864 "по адресу: http://www.courtesan.com/sudo/bugs/"
865
866 #. type: SH
867 #: sudo.8:192
868 #, no-wrap
869 msgid "LICENSE AGREEMENT"
870 msgstr "ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ"
871
872 #. type: Plain text
873 #: sudo.8:195
874 msgid ""
875 "B<sudo> is provided ``AS IS'' and any express or implied warranties, "
876 "including, but not limited to, the implied warranties of merchantability and "
877 "fitness for a particular purpose are disclaimed. See the LICENSE file "
878 "included with B<sudo> for details."
879 msgstr ""
880 "B<Sudo> поставляется ``КАК ЕСТЬ'\\*(R' и любые явные или неявные гарантии, "
881 "включая, но не ограничиваясь неявными гарантиями, коммерческой ценности и "
882 "пригодности для конкретной цели отрицаются. Подробности смотри в файле "
883 "LICENSE, поставляемом вместе с B<sudo>."
884
885 #. type: SH
886 #: sudo.8:195
887 #, no-wrap
888 msgid "WARNING"
889 msgstr "ПРЕДОСТЕРЕЖЕНИЕ"
890
891 #. type: Plain text
892 #: sudo.8:197
893 msgid ""
894 "There is no easy way to prevent a user from taking over a shell with "
895 "superuser (root) privileges if they have access to shell commands."
896 msgstr ""
897 "Не существует никакого простого способа предотвратить захват пользователем "
898 "оболочки с правами суперпользователя (root), если он имеет доступ к командам "
899 "оболочки."
900
901 #. type: Plain text
902 #: sudo.8:201
903 msgid ""
904 "If a user has sudo ALL, then nothing will stop him from creating his own "
905 "program that will give him a privileged user (root) shell, regardless of any "
906 "\\*(L'!\\*(R' elements in the user specification."
907 msgstr ""
908 "Если пользователь имеет sudo ALL, то ничто не остановит его от создании "
909 "собственной программы, которая даст ему оболочку привилегированного "
910 "пользователя (root), не смотря ни на какие элементы \\*(L'!\\*(R' в "
911 "спецификации пользователя."
912
913 #. type: Plain text
914 #: sudo.8:205
915 msgid ""
916 "Running shell scripts via B<sudo> can cause the same kernel bugs that make "
917 "user-switching shell scripts dangerous on some operating systems (if your OS "
918 "supports the /dev/fd/ directory, user-switching shell scripts are generally "
919 "safe)."
920 msgstr ""
921 "Выполнение сценариев оболочки через B<sudo> может вызвать те же самые ошибки "
922 "ядра, которые делают сценарии оболочки со сменой идентификатора пользователя "
923 "опасными на некоторых операционных системах (если ваша ОС поддерживает "
924 "каталог/dev/fd/, сценарии оболочки со сменой идентификатора пользователя в "
925 "целом безопасны)."
926
927 #. type: SH
928 #: sudo.8:205
929 #, no-wrap
930 msgid "SEE ALSO"
931 msgstr "СМ. ТАКЖЕ"
932
933 #. type: Plain text
934 #: sudo.8:206
935 msgid ""
936 "I<stat>(2), I<login_cap>\\|(3), I<sudoers>\\|(5), I<passwd>(5), I<visudo>\\|"
937 "(8), I<grep>(1), I<su>\\|(1)."
938 msgstr ""
939 "I<stat>(2), I<login_cap>\\|(3), I<sudoers>\\|(5), I<passwd>(5), I<visudo>\\|"
940 "(8), I<grep>(1), I<su>\\|(1)."