# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Александр Блохин , 2007. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2025-06-26 13:20+0200\n" "PO-Revision-Date: 2007-11-05 11:22+0300\n" "Last-Translator: Александр Блохин \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. type: TH #: sudo.8:9 #, no-wrap msgid "sudo" msgstr "sudo" #. type: TH #: sudo.8:9 #, no-wrap msgid "1.15" msgstr "1.15" #. type: TH #: sudo.8:9 #, no-wrap msgid "14 Jan 2002" msgstr "14 января 2002 г." #. type: TH #: sudo.8:9 #, no-wrap msgid "ALT Linux Team" msgstr "ALT Linux Team" #. type: SH #: sudo.8:10 #, no-wrap msgid "NAME" msgstr "НАЗВАНИЕ" #. type: Plain text #: sudo.8:12 msgid "sudo - run a command as another user" msgstr "sudo - выполнить команду от имени другого пользователя" #. type: SH #: sudo.8:12 #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: sudo.8:15 msgid "" "B B<-V> | B<-h> | B<-l> | B<-L> | B<-v> | B<-k> | B<-K> | B<-s> | [ B<-" "H> ] [ B<-P> ] [ B<-S> ] [ B<-b> ] | [ B<-p> I ] [ B<-c> I|I<-" "> ] [ B<-a> I ] [ B<-u> I/I<#uid> ] I" msgstr "" "B B<-V> | B<-h> | B<-l> | B<-L> | B<-v> | B<-k> | B<-K> | B<-s> | [ B<-" "H> ] [ B<-P> ] [ B<-S> ] [ B<-b> ] | [ B<-p> I<запрос> ] [ B<-c> I<класс>|I<-" "> ] [ B<-a> I<тип_аутентификации> ] [ B<-u> I<имя_пользователя>/I<#uid> ] " "I<команда>" #. type: SH #: sudo.8:15 #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: sudo.8:18 msgid "" "B allows an authorized user to execute I as the superuser or " "another user, as defined in the I file. The real and effective uid " "and gid are set to match those of the target user, as defined in the passwd " "file (the group vector is also initialized if the target user is not root). " "By default, B requires users to authenticate with a password (REMEMBER: " "this is the user's password, not the root password). Once the user has " "authenticated, the timestamp is updated and the user can use sudo for a " "period of time without a password (five minutes by default, unless otherwise " "specified in I)." msgstr "" "B позволяет разрешенному пользователю выполнять I<команду> как " "суперпользователь или другой пользователь, как определено в файле I. " "Реальный и эффективный uid и gid при этом устанавливаются так, чтобы " "соответствовать таковым целевого пользователя, как определено в файле passwd " "(также инициализируется вектор группы, если целевой пользователь - не root). " "По умолчанию B требует, что бы пользователи аутентифицировали себя при " "помощи пароля (ЗАПОМНИТЕ: это пароль пользователя, не пароль root). Как " "только пользователь аутентифицировал себя происходит обновление временной " "метки и пользователь может использовать sudo некоторый период времени без " "пароля (по умолчанию пять минут, если в I не указано другое)." #. type: Plain text #: sudo.8:21 msgid "" "B determines who is an authorized user by checking the I/sudoers> " "file and all files with a matching name in the I/sudo.d> directory. By " "specifying the B<-v> flag to B, the user can update the timestamp " "without executing the I. The password prompt also expires if the " "user doesn't enter a password within 5 minutes (unless overridden in " "I)." msgstr "" "B определяет, кто является авторизованным пользователем сверяясь с " "файлом I и всеми файлами с подходящим названием в каталоге I. Указав для B флаг B<-v> пользователь может обновить " "временную метку без выполнения I<команды>. Строка приглашения для ввода " "пароля так же устаревает, если пользователь не введёт пароль в течение 5 " "минут (если в I не переопределено другое)." #. type: Plain text #: sudo.8:23 msgid "" "If a user not listed in the I file attempts to execute a B " "command, an email message will be sent to the authorized user, as defined " "during configuration or in the I file (root by default). Note that " "the message will not be sent if an unauthorized user attempts to execute sudo " "with the B<-l> or B<-v> flags. This allows users to determine whether they " "are allowed to use B or not." msgstr "" "Если не указанный в файле I пользователь попытается выполнить при " "помощи B команду, то уполномоченному пользователю будет отправлено " "почтовое сообщение, как определено во время конфигурации или в файле " "I (по умолчанию это root). Обратите внимание, что сообщение не будет " "отправлено, если неавторизованный пользователь пытается выполнить sudo с " "флагами B<-l> или B<-v>. Это позволяет пользователям определить - разрешено " "им использовать B или нет." #. type: Plain text #: sudo.8:25 msgid "" "B can log both successful and unsuccessful attempts (as well as errors) " "using the system event log I\\|(3), its own log, or a combination of " "both. By default, B logs events via I\\|(3), but this can be " "changed at configuration time or in the I file." msgstr "" "B может регистрировать оба типа попыток, успешные и не удачные, (так же " "как и ошибки) при помощи системного журнала регистрации событий I\\|" "(3), собственного журнала, или с использованием обоих вариантов. По умолчанию " "B регистрирует события через I\\|(3), но это можно изменить во " "время конфигурации или в файле I." #. type: SH #: sudo.8:25 #, no-wrap msgid "PARAMETERS" msgstr "ПАРАМЕТРЫ" #. type: Plain text #: sudo.8:27 msgid "B accepts the following command line options:" msgstr "B акцептирует следующие параметры командной строки:" #. type: TP #: sudo.8:27 #, no-wrap msgid "-V" msgstr "-V" #. type: Plain text #: sudo.8:30 msgid "" "The B<-V> (I) parameter causes B to display the version number " "and exit. If the initiating user is root, the B<-V> parameter will display a " "list of the default values ​​with which B was built, including the local " "network addresses of the machine." msgstr "" "Параметр B<-V> (I<версия>) заставляет B показать номер версии и выйти. " "Если пользователем инициировавшим вызов является root, то параметр B<-V> " "отобразит список значений по умолчанию с которыми был собран B, в том " "числе локальные сетевые адреса машины." #. type: TP #: sudo.8:30 #, no-wrap msgid "-l" msgstr "-l" #. type: Plain text #: sudo.8:33 msgid "" "The B<-l> (I) parameter will list the allowed (and disallowed) commands " "for the user on the given machine." msgstr "" "Параметр B<-l> (I<список>) перечислит дозволенные (и запрещенные) команды для " "пользователя на данной машине." #. type: TP #: sudo.8:33 #, no-wrap msgid "-L" msgstr "-L" #. type: Plain text #: sudo.8:36 msgid "" "The B<-L> (I defaults) option displays a list of options that can be " "set in the I line, with a brief description of each. This option is " "useful in combination with I\\|(1)." msgstr "" "Параметр B<-L> (I<список> по умолчанию) отобразит список параметров, которые " "могут быть установлены в строке I, с кратким описанием каждого. " "Этот параметр полезен в сочетании с I\\|(1)." #. type: TP #: sudo.8:36 #, no-wrap msgid "-h" msgstr "-h" #. type: Plain text #: sudo.8:39 msgid "" "The B<-h> (I) option will cause B to display usage help and exit." msgstr "" "Параметр B<-h> (I<помощь>) заставит B показать справку об использовании " "и выйти." #. type: TP #: sudo.8:39 #, no-wrap msgid "-v" msgstr "-v" #. type: Plain text #: sudo.8:42 msgid "" "If the B<-v> (I) option is specified, B will update the " "user's timestamp, prompting the user for a password if necessary. This will " "extend the expiration of B's old password for the next 5 minutes (or as " "long as specified in I), but does not require executing any commands." msgstr "" "Если указан параметр B<-v> (I<идентифицировать>), B обновит временную " "метку пользователя, предложив пользователю, если необходимо, указать пароль. " "Это продлит срок действия прежнего пароля B на следующие 5 минут (или " "на тот срок, который указан в I), но не требует при этом выполнения " "какой-либо команды." #. type: TP #: sudo.8:42 #, no-wrap msgid "-k" msgstr "-k" #. type: Plain text #: sudo.8:45 msgid "" "Specifying the B option B<-k> (I) invalidates the user's " "timestamp, setting it to the beginning of the century. The next time B " "is run, a password will be required. This operation does not require a " "password and was added to allow the user to revoke B's privileges from " "the .logout file." msgstr "" "Указание для B параметра B<-k> (I<уничтожить>) лишает законной силы " "временную метку пользователя, устанавливая время на начало века. При " "следующем выполнении B потребуется указать пароль. Эта операция не " "требует указания пароля и была добавлена, чтобы позволить пользователю " "аннулировать права B из файла .logout." #. type: TP #: sudo.8:45 #, no-wrap msgid "-K" msgstr "-K" #. type: Plain text #: sudo.8:48 msgid "" "The B<-K> (I for sure) option for B completely removes the user's " "timestamp. This option also doesn't require a password." msgstr "" "Параметр B<-K> (I<уничтожить> наверняка) для B полностью удаляет " "временную метку пользователя. Этот параметр тоже не требует указания пароля." #. type: TP #: sudo.8:48 #, no-wrap msgid "-b" msgstr "-b" #. type: Plain text #: sudo.8:51 msgid "" "The B<-b> (I) option tells B to run the specified command " "in the background. If you use the B<-b> option, you won't be able to use " "control over running shell processes to manipulate commands." msgstr "" "Параметр B<-b> (I<фон>) сообщает B выполнить заданную команду в фоновом " "режиме. Если вы используете параметр B<-b>, то вы не сможете использовать " "контроль над запущенными процессами оболочки для манипуляций командами." #. type: TP #: sudo.8:51 #, no-wrap msgid "-p" msgstr "-p" #. type: Plain text #: sudo.8:54 msgid "" "The B<-p> (I) parameter allows you to override the default appearance " "of the system prompt. If the prompt contains the B<%u> control character, " "B<%u> will be replaced with the user's login name. Similarly, B<%h> can be " "replaced with the computer name." msgstr "" "Параметр B<-p> (I<приглашение>) позволяет переопределить внешний вид " "приглашения в систему по умолчанию. Если вид приглашения содержит управляющий " "символ B<%u>, то B<%u> будет заменен учетным именем пользователя. Аналогично " "B<%h> может быть заменено на имя компьютера." #. type: TP #: sudo.8:54 #, no-wrap msgid "-c" msgstr "-c" #. type: Plain text #: sudo.8:57 msgid "" "The B<-c> (I) option causes B to execute the specified command " "with the resource restrictions appropriate for the specified user class. The " "I option can be either the name of a class specified in /etc/" "login.conf or the \\*(L'-\\*(R' character. Specifying I with \\*(L'-" "\\*(R' means that the command will be executed with the privileges of the " "user under which the command is executed. If the I option specifies " "the current user class, the command must be executed as root, or the B " "command must be executed from a superuser (root) shell. This option is " "available with the BSD login class, where B was configured with the B<--" "with-logincap> option." msgstr "" "Параметр B<-c> (I<класс>) заставляет B выполнить определенную команду с " "ограничением ресурсов, свойственным указанному классу пользователя. Параметр " "I<класс> может быть либо именем класса, указанным в /etc/login.conf, или " "знаком \\*(L'-\\*(R'. Указание I<класс> с помощью \\*(L'-\\*(R' означает, что " "команда будет выполнена с учетом прав того пользователя, от имени которого " "эта команда выполняется. Если параметр I<класс> указывает на текущий класс " "пользователя, то команда должна быть выполнена от имени root, или команда " "B должна выполняться из оболочки суперпользователя (root). Этот " "параметр доступен с BSD-классом входа в систему, где B был " "сконфигурирован с параметром B<--with-logincap>." #. type: TP #: sudo.8:57 #, no-wrap msgid "-а" msgstr "-а" #. type: Plain text #: sudo.8:60 msgid "" "The B<-a> (I) parameter forces B to use the " "specified authentication type when identifying a user, according to /etc/" "login.conf. The system administrator can specify a list of authentication " "methods suitable for sudo by adding the \"auth-sudo\" entry to /etc/" "login.conf. This parameter is only available on systems that support the BSD " "authentication type, if B was configured with the B<--with-bsdauth> " "parameter." msgstr "" "Параметр B<-а> (I<тип аутентификации>) принуждает B при идентификации " "пользователя использовать указанный тип аутентификации, в соответствии с /etc/" "login.conf. Системный администратор может указать перечень подходящих для " "sudo методов аутентификации путём добавления в /etc/login.conf записи \"auth-" "sudo\". Этот параметр доступен только на системах поддерживающих BSD-тип " "аутентификации, если B был сконфигурирован с параметром B<--with-" "bsdauth>." #. type: TP #: sudo.8:60 #, no-wrap msgid "-u" msgstr "-u" #. type: Plain text #: sudo.8:63 msgid "" "The B<-u> (I) option causes B to run the specified command as a " "user other than I. To specify I instead of I, use " "I<#uid>." msgstr "" "Параметр B<-u> (I<пользователь>) вызывает B для выполнения указанной " "команды от имени пользователя, отличного от I. Для указания I " "вместо I<имени пользователя>, используйте I<#uid>." #. type: TP #: sudo.8:63 #, no-wrap msgid "-s" msgstr "-s" #. type: Plain text #: sudo.8:66 msgid "" "The B<-s> (I) option starts the command interpreter specified by the " "I environment variable, or the shell specified by I\\|(5)." msgstr "" "Параметр B<-s> (I<оболочка>) запускает командный интерпретатор, определенный " "переменной окружения I, или оболочку указанную в I\\|(5)." #. type: TP #: sudo.8:66 #, no-wrap msgid "-H" msgstr "-H" #. type: Plain text #: sudo.8:69 msgid "" "The B<-H> (I) option sets the value of the I environment variable " "to the home directory of the target user (root by default), as defined in " "I\\|(5). By default, B does not change I." msgstr "" "Параметр B<-H> (I) устанавливает значение переменной окружения I " "к домашнему каталогу целевого пользователя (по умолчанию root), определенную " "в I\\|(5). По умолчанию B не изменяет I." #. type: TP #: sudo.8:69 #, no-wrap msgid "-Р" msgstr "-Р" #. type: Plain text #: sudo.8:72 msgid "" "The B<-P> (I) option tells B to preserve the " "user's group vector unchanged. By default, B initializes the group " "vector to the list of groups to which the target user belongs. However, the " "real and effective group IDs are assigned to match the target user." msgstr "" "Параметр B<-P> (I<сохранить вектор группы>) сообщает B о необходимости " "сбережения вектора группы пользователя в неизменном виде. По умолчанию " "B инициализирует групповой вектор к списку групп, к которым принадлежит " "целевой пользователь. Однако, реальный и эффективный идентификаторы групп " "назначаются соответствующими целевому пользователю." #. type: TP #: sudo.8:72 #, no-wrap msgid "-S" msgstr "-S" #. type: Plain text #: sudo.8:75 msgid "" "The B<-S> (I) option causes B to read the password from standard " "input instead of the terminal." msgstr "" "Параметр B<-S> (I) заставляет B считывать пароль со стандартного " "ввода вместо терминала." #. type: TP #: sudo.8:75 #, no-wrap msgid "--" msgstr "--" #. type: Plain text #: sudo.8:78 msgid "" "The B<--> flag indicates that B should stop executing command-line " "options. This is useful in combination with the B<-s> flag." msgstr "" "Флаг B<--> обозначает, что B должен прекратить выполнение параметров " "командной строки. Это полезно в сочетании с флагом B<-s>." #. type: SH #: sudo.8:78 #, no-wrap msgid "RETURN CODES" msgstr "КОДЫ ВОЗВРАТА" #. type: Plain text #: sudo.8:81 msgid "" "If successful, the return value of B will be the return value of the " "executed program." msgstr "" "В случае успешного выполнения возвращаемым значением B будет " "возвращаемое значение выполненной программы." #. type: Plain text #: sudo.8:83 msgid "" "Otherwise, B exits with a value of 1 if it encounters configuration/" "permission problems or if B is unable to execute the given command. In " "the latter case, an error message will be printed to stderr. If B is " "unable to obtain I\\|(2) for one or more entries in the user's PATH, an " "error message will be printed to stderr. (If the directory does not exist, or " "if it is not actually a directory, its entry will be ignored and no error " "will be reported.) Under normal circumstances, this should not happen. The " "most common reason for I\\|(2) to return \"permission denied\" is if " "you have enabled automatic drive mounting and one of the directories in your " "PATH is on a machine that is not currently accessible." msgstr "" "В противном случае B завершает работу со значением 1, если обнаруживает " "проблемы в конфигурации/правах доступа или B не в состоянии выполнить " "заданную команду. В последнем случае сообщение об ошибке будет выведено в " "stderr. Если B не в состоянии получить I\\|(2) на одну или болееe " "запись в пользовательском PATH, то сообщение об ошибке будет выведено на " "stderr. (Если каталог не существует или если это на самом деле не каталог, " "запись о нем будет игнорирована и об ошибке сообщено не будет.) При " "нормальных обстоятельствах этого не должно произойти. Наиболее частая причина " "возврата от I\\|(2) \"permission denied\", если вы запустили " "автоматическое монтирование дисков и один из каталогов в вашем PATH находится " "на машине, которая в настоящий момент не доступна." #. type: SH #: sudo.8:83 #, no-wrap msgid "SAFETY NOTES" msgstr "ПРИМЕЧАНИЯ ПО БЕЗОПАСНОСТИ" #. type: Plain text #: sudo.8:86 msgid "" "B attempts to be secure when executing external commands. Variables " "that control dynamic loading and linking can be used to destroy programs " "executed by B. To combat this, the environment variables LD_*, _RLD_*, " "SHLIB_PATH (HP-UX only), and LIBPATH (AIX only) are removed from the " "environment accessible to commands executed globally. B also removes " "the variables IFS, ENV, BASH_ENV, KRB_CONF, KRB5_CONFIG, LOCALDOMAIN, " "RES_OPTIONS, HOSTALIASES, NLSPATH, PATH_LOCALE, TERMINFO, TERMINFO_DIRS, and " "TERMPATH, as they can also pose a threat. If TERMPATH is set and is a " "pathname, it is also ignored. Additionally, if the LC_* or LANGUAGE variables " "contain the / or % characters, they will be ignored. If B was built " "with SecurID support, the VAR_ACE, USR_ACE, and DLC_ACE variables will also " "be cleared. A list of variables to be cleared by B can be printed in " "the output of the sudo -V command, executed as root." msgstr "" "B пытается быть безопасной при выполнении внешних команд. Переменные, " "контролирующие выполнение динамической загрузки и связей, могут быть " "использованы для уничтожения программ выполняемых B. Для борьбы с этим, " "переменные окружения LD_*, _RLD_*, SHLIB_PATH (только HP-UX) и LIBPATH " "(только AIX), изъяты из окружения доступного для команд выполняемых всеми. " "B также изымает переменные IFS, ENV, BASH_ENV, KRB_CONF, KRB5_CONFIG, " "LOCALDOMAIN, RES_OPTIONS, HOSTALIASES, NLSPATH, PATH_LOCALE, TERMINFO, " "TERMINFO_DIRS И TERMPATH, поскольку они тоже могут представлять угрозу. Если " "установлена переменная TERMPATH и является именем пути, то она также будет " "игнорирована. Дополнительно, если переменные LC_* или LANGUAGE содержат " "символы / или %, то они будут игнорированы. Если B було собрано с " "поддержкой SecurID, то переменные VAR_ACE, USR_ACE и DLC_ACE будут также " "очищены. Список переменных, подлежащих очистке со стороны B, может быть " "распечатан в вывод команды sudo -V, выполненной от имени суперпользователя " "(root)." #. type: Plain text #: sudo.8:88 msgid "" "To prevent command spoofing, B checks \".\" and \"\" (both refer to the " "current directory) last when searching for a command in the user's PATH (if " "either is in the PATH). However, note that the actual B environment " "variable is not modified and is passed unmodified to the program executed by " "B." msgstr "" "Во избежание подмены команд B проверяет \".\" и \"\" (оба указывают на " "текущий каталог), когда осуществляет поиск команды в пользовательском PATH " "(если один из них есть в PATH) в последнюю очередь. Однако, обратите " "внимание, что фактическая переменная окружения B I<не> модифицирована и " "передается программе, выполняемой B, в неизмененном виде." #. type: Plain text #: sudo.8:90 msgid "" "For security reasons, if your OS supports shared libraries and does not " "disable the user search path for setuid programs (most common), you should " "use linker options that disable this feature or link B statically." msgstr "" "Из соображений безопасности, если ваша ОС поддерживает разделяемые библиотеки " "и не отключает пользовательский путь поиска для программ использующих setuid " "(чаще всего), вы должны использовать параметры линковщика которые исключают " "такую возможность или линкуют B статически." #. type: Plain text #: sudo.8:93 msgid "" "B checks the ownership of the directory containing timestamps (by " "default, I) and ignores directories with contents not owned by " "root and writable only by root. On systems that allow unprivileged users to " "grant file permissions via I\\|(2), if the timestamp is in a world-" "writable directory (e.g., I), it is possible for a user to create the " "directory containing the timestamp before B is executed. However, since " "B checks the ownership and permissions of the directory and its " "contents, harm can only be caused by \"hidden\" files placed in the timestamp " "directory. This is unlikely to happen if the timestamp directories are owned " "by the superuser and are not writable by other users. To work around this " "problem, you can use a directory to store timestamps (e.g. I) " "that is not writable by anyone, or create I with the " "appropriate owner (root) and permissions (0700) in the system startup files." msgstr "" "B проверяет принадлежность каталога содержащего временные метки (по " "умолчанию это I) и игнорирует каталоги с содержимым не " "принадлежащим root и доступным на запись только для root. В системах, " "позволяющих не привилегированным пользователям передавать права на файлы " "через I\\|(2), если временная метка находится в каталоге доступном для " "записи для всех (т.е.: I), то возможна ситуация, когда пользователь " "создаст каталог каталог содержащий временную метку прежде, чем будет " "выполнено B. Однако, так как B проверяет права владения и режим " "доступа каталога и его содержимого, то вред может быть нанесён только " "\"скрытыми\" файлами, помещенными в каталог с временными метками. Это вряд " "ли случится в том случае, если владельцем каталогов с временными метками " "является суперпользователь и они не доступны для других пользователей для " "записи в них. Что бы обойти эту проблему вы можете использовать каталог для " "хранения временных меток (например I), никому не доступный для " "записи, или создать I, с соответствующими владельцем (root) и " "правами доступа (0700) в системных файлах запуска." #. type: Plain text #: sudo.8:97 msgid "" "B ignores timestamps with creation dates in the distant future. " "Timestamps with a date greater than the present time + 2 * TIMEOUT will be " "ignored, logged by sudo, and a warning will be sent to the authorized user. " "This is done to prevent the creation of timestamps with fake dates that could " "allow files to be served to users." msgstr "" "B игнорирует временные метки с датой создания в далеком будущем. " "Временные метки с датой большей, чем настоящий момент времени + 2 * TIMEOUT " "будут игнорироваться, регистрироваться sudo и уполномоченному пользователю " "будет послано предупреждение. Это сделано во избежание создания временных " "меток с поддельными датами, которые позволят отдавать файлы пользователям." #. type: Plain text #: sudo.8:99 msgid "" "Note that B logs only explicitly executed commands. If a user executes " "a command such as sudo su or sudo sh, commands executed from these shells " "will not be logged and will not be affected by B's access controls. The " "same is true for commands that allow the use of control characters (including " "most editors). Therefore, care must be taken when granting users access to " "execute commands via B, to avoid inadvertently granting the user access " "to the superuser (root) shell." msgstr "" "Обратите внимание, что B регистрирует только явно выполненные команды. " "Если пользователь выполняет такую команду как sudo su или sudo sh, то команды " "выполненные из этих оболочек I<не> будут запротоколированы и при этом их не " "затронет управление доступом B. Тоже-самое верно по отношению к " "командам, допускающим использование управляющих символов (включая большинство " "редакторов). В связи с этим должна быть проявлена осторожность при " "предоставление пользователям доступа к выполнению команд посредством B, " "во-избежание нечаянного предоставления пользователю доступа к оболочке " "суперпользователя (root)." #. type: SH #: sudo.8:99 #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: sudo.8:101 msgid "Note: The following examples contain working I\\|(5) entries." msgstr "" "Внимание: следующие примеры содержат работающие записи I\\|(5)." #. type: Plain text #: sudo.8:103 msgid "To get a list of files in a read-only directory:" msgstr "Для получения списка файлов в каталоге закрытом для чтения:" #. type: Plain text #: sudo.8:106 #, no-wrap msgid " sudo ls /usr/local/protected\n" msgstr " sudo ls /usr/local/protected\n" #. type: Plain text #: sudo.8:109 msgid "" "To list the files in the home directory of user yazza on a machine where the " "file system containing ~yazza is not positioned as the root:" msgstr "" "Для получения списка файлов домашнего каталога пользователя yazza на машине, " "где файловая система, содержащая ~yazza не позиционируется как корневая:" #. type: Plain text #: sudo.8:112 #, no-wrap msgid " sudo -u yazza ls ~yazza\n" msgstr " sudo -u yazza ls ~yazza\n" #. type: Plain text #: sudo.8:115 msgid "To edit file I as user www:" msgstr "Для редактирования файла I как пользователь www:" #. type: Plain text #: sudo.8:118 #, no-wrap msgid " sudo -u www vi ~www/htdocs/index.html\n" msgstr " sudo -u www vi ~www/htdocs/index.html\n" #. type: Plain text #: sudo.8:121 msgid "To turn off your computer:" msgstr "Для выключения компьютера:" #. type: Plain text #: sudo.8:124 #, no-wrap msgid " sudo shutdown -r +15 \"quick reboot\"\n" msgstr " sudo shutdown -r +15 \"quick reboot\"\n" #. type: Plain text #: sudo.8:127 msgid "" "To create a list of directory space occupied by directories in the /home " "partition. Note that this is done in a subshell to perform B and file " "redirection." msgstr "" "Для создания списка занимаемого каталогами места в партиции /home. Обратите " "внимание, что это выполняется в под-оболочке (sub-shell) для выполнения B " "и переадресации файла." #. type: Plain text #: sudo.8:130 #, no-wrap msgid " sudo sh -c \"cd /home ; du -s * | sort -rn E USAGE\"\n" msgstr " sudo sh -c \"cd /home ; du -s * | sort -rn E USAGE\"\n" #. type: SH #: sudo.8:132 #, no-wrap msgid "VARIABLES" msgstr "ПЕРЕМЕННЫЕ" #. type: Plain text #: sudo.8:134 msgid "B uses the following system variables:" msgstr "B использует следующие системные переменные:" #. type: Plain text #: sudo.8:137 msgid "PATH Set to normal value if SECURE_PATH is set." msgstr "PATH Установленную в нормальное значение, если установлен SECURE_PATH." #. type: Plain text #: sudo.8:140 msgid "SHELL Used to specify the shell to start with the -s option." msgstr "SHELL Используется для указания оболочки для запуска с параметром -s." #. type: Plain text #: sudo.8:143 msgid "" "USER Set to the target user (root, unless otherwise specified with the -u " "parameter)." msgstr "" "USER Устанавливается к целевому пользователю (root, если параметром -u не " "определено другое)." #. type: Plain text #: sudo.8:148 msgid "" "HOME In the -s or -H option (or if sudo was configured with the --enable-" "shell-sets-home option), points to the home directory of the target user." msgstr "" "HOME В варианте -s или -H (или если sudo было сконфигурировано с параметром --" "enable-shell-sets-home) указывает на домашний каталог целевого пользователя." #. type: Plain text #: sudo.8:151 msgid "SUDO_PROMPT Used as the default password hint." msgstr "SUDO_PROMPT Используется как заданная по умолчанию подсказка пароля." #. type: Plain text #: sudo.8:154 msgid "SUDO_COMMAND Set to commands executed by sudo." msgstr "SUDO_COMMAND Установлено на команды, выполняемые sudo." #. type: Plain text #: sudo.8:158 #, no-wrap msgid "SUDO_USER Set to the login user who is allowed to invoke sudo." msgstr "SUDO_USER Установлено на вход в систему пользователя, которому разрешено вызывать sudo." #. type: Plain text #: sudo.8:161 msgid "SUDO_UID Set to the uid of the user who is allowed to invoke sudo." msgstr "" "SUDO_UID Установлено на uid пользователя, которому разрешено вызывать sudo." #. type: Plain text #: sudo.8:164 msgid "SUDO_GID Set to the gid of the user who called sudo." msgstr "SUDO_GID Установлено на gid пользователя, кто вызвал sudo." #. type: Plain text #: sudo.8:167 msgid "SUDO_PS1 If set, PS1 will be set to this value." msgstr "SUDO_PS1 Если установлено, PS1 будет установлен на это значение." #. type: SH #: sudo.8:168 #, no-wrap msgid "FILES" msgstr "ФАЙЛЫ" #. type: Plain text #: sudo.8:173 msgid "" "/etc/sudoers /etc/sudo.d/* Описание того, кто и какие команды может выполнять" msgstr "" "/etc/sudoers /etc/sudo.d/* Описание того, кто и какие команды может выполнять" #. type: Plain text #: sudo.8:176 msgid "/var/run/sudo Directory containing timestamps" msgstr "/var/run/sudo Каталог содержащий временные метки" #. type: SH #: sudo.8:177 #, no-wrap msgid "AUTHORS" msgstr "АВТОРЫ" #. type: Plain text #: sudo.8:179 msgid "" "Many people have been working on B for years. This version contains " "code primarily written by:" msgstr "" "Многие люди годами работали над B. Эта версия содержит код написанного " "прежде всего:" #. type: Plain text #: sudo.8:183 #, no-wrap msgid "" " Todd Miller\n" " Chris Jepeway\n" msgstr "" " Todd Miller\n" " Chris Jepeway\n" #. type: Plain text #: sudo.8:186 msgid "" "For a brief history of B, see the HISTORY file in the distribution or " "on the Internet at http://www.sudo.ws/sudo/history.html." msgstr "" "Краткую историю B смотри в файле HISTORY в дистрибутиве или в интернете " "по адресу http://www.sudo.ws/sudo/history.html." #. type: SH #: sudo.8:190 #, no-wrap msgid "BUGS" msgstr "ОШИБКИ" #. type: Plain text #: sudo.8:192 msgid "" "If you think you've found a bug in sudo, please submit a bug report to: " "http://www.courtesan.com/sudo/bugs/" msgstr "" "Если вам кажется, что вы нашли ошибку в sudo, то отправьте рапорт об ошибке " "по адресу: http://www.courtesan.com/sudo/bugs/" #. type: SH #: sudo.8:192 #, no-wrap msgid "LICENSE AGREEMENT" msgstr "ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ" #. type: Plain text #: sudo.8:195 msgid "" "B is provided ``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. See the LICENSE file " "included with B for details." msgstr "" "B поставляется ``КАК ЕСТЬ'\\*(R' и любые явные или неявные гарантии, " "включая, но не ограничиваясь неявными гарантиями, коммерческой ценности и " "пригодности для конкретной цели отрицаются. Подробности смотри в файле " "LICENSE, поставляемом вместе с B." #. type: SH #: sudo.8:195 #, no-wrap msgid "WARNING" msgstr "ПРЕДОСТЕРЕЖЕНИЕ" #. type: Plain text #: sudo.8:197 msgid "" "There is no easy way to prevent a user from taking over a shell with " "superuser (root) privileges if they have access to shell commands." msgstr "" "Не существует никакого простого способа предотвратить захват пользователем " "оболочки с правами суперпользователя (root), если он имеет доступ к командам " "оболочки." #. type: Plain text #: sudo.8:201 msgid "" "If a user has sudo ALL, then nothing will stop him from creating his own " "program that will give him a privileged user (root) shell, regardless of any " "\\*(L'!\\*(R' elements in the user specification." msgstr "" "Если пользователь имеет sudo ALL, то ничто не остановит его от создании " "собственной программы, которая даст ему оболочку привилегированного " "пользователя (root), не смотря ни на какие элементы \\*(L'!\\*(R' в " "спецификации пользователя." #. type: Plain text #: sudo.8:205 msgid "" "Running shell scripts via B can cause the same kernel bugs that make " "user-switching shell scripts dangerous on some operating systems (if your OS " "supports the /dev/fd/ directory, user-switching shell scripts are generally " "safe)." msgstr "" "Выполнение сценариев оболочки через B может вызвать те же самые ошибки " "ядра, которые делают сценарии оболочки со сменой идентификатора пользователя " "опасными на некоторых операционных системах (если ваша ОС поддерживает " "каталог/dev/fd/, сценарии оболочки со сменой идентификатора пользователя в " "целом безопасны)." #. type: SH #: sudo.8:205 #, no-wrap msgid "SEE ALSO" msgstr "СМ. ТАКЖЕ" #. type: Plain text #: sudo.8:206 msgid "" "I(2), I\\|(3), I\\|(5), I(5), I\\|" "(8), I(1), I\\|(1)." msgstr "" "I(2), I\\|(3), I\\|(5), I(5), I\\|" "(8), I(1), I\\|(1)."