# 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-12-06 10:43+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 #: sudoers.5:4 #, no-wrap msgid "sudoers" msgstr "sudoers" #. type: TH #: sudoers.5:4 #, no-wrap msgid "1.6.4" msgstr "1.6.4" #. type: TH #: sudoers.5:4 #, no-wrap msgid "14 January 2001" msgstr "14 января 2001 г." #. type: TH #: sudoers.5:4 #, no-wrap msgid "ALT Linux Team" msgstr "ALT Linux Team" #. type: SH #: sudoers.5:5 #, no-wrap msgid "NAME" msgstr "НАЗВАНИЕ" #. type: Plain text #: sudoers.5:8 msgid "sudoers - a list of users, indicating what they can do" msgstr "" "sudoers - список пользователей, с указанием того, что они могут выполнять" #. type: SH #: sudoers.5:8 #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. type: Plain text #: sudoers.5:16 msgid "" "The I file contains two types of data: aliases (mostly variables) " "and user definitions (which define who can do what). The grammar of " "I will be described below in Extended Backus-Naur Form (EBNF). Don't " "despair if you don't know what EBNF is; it's quite simple, and the " "definitions below will be explained." msgstr "" "Файл I содержит два типа данных: псевдонимы (в основном переменные) " "и определения пользователей (где определяется кто что может выполнять). " "Грамматика I будет описана ниже в Расширенной Форме Бэкуса-Наура " "(EBNF). Не отчаивайтесь, если вы не знаете,что такое EBNF; это довольно " "просто, и к определениям, приводимым далее, будут даваться пояснения." #. type: SS #: sudoers.5:16 #, no-wrap msgid "A Quick Guide to EBNF" msgstr "Краткое руководство по EBNF" #. type: Plain text #: sudoers.5:20 msgid "" "EBNF is a concise and precise way to describe the grammar of a language. Each " "EBNF definition is derived from an I. That is," msgstr "" "EBNF это краткий и точный способ описания грамматики языка. Каждое " "определение EBNF происходит из I<последовательности правил>. Т.е." #. type: Plain text #: sudoers.5:22 msgid "symbol ::= definition | alternative1 | alternative2 ..." msgstr "символ ::= определение | альтернатива1 | альтернатива2 ..." #. type: Plain text #: sudoers.5:25 msgid "" "Each I refers to the others and thus forms the grammar of " "the language. EBNF also contains the following operators, which will likely " "seem familiar to many readers. However, do not confuse them with the " "\"substitution\" signs (L), which have a different meaning." msgstr "" "Каждая I<последовательность правил> ссылается на другие и, таким образом, " "образует грамматику языка. EBNF также содержит следующие операторы, которые " "наверняка покажутся знакомыми многим читателям. Однако, не спутайте их со " "знаками \\*(L\"подстановки\\*(R\", которые имеют другое значение." #. type: TP #: sudoers.5:25 sudoers.5:495 #, no-wrap msgid "CW" msgstr "CW" #. type: Plain text #: sudoers.5:29 msgid "" "Indicates that the preceding character (or group of characters) is optional. " "That is, it may or may not appear." msgstr "" "Означает, что предшествующий символ (или группа символов) является " "необязательным. То есть, может встречаться или вовсе отсутствовать." #. type: TP #: sudoers.5:29 #, no-wrap msgid "CW<*>" msgstr "CW<*>" #. type: Plain text #: sudoers.5:32 msgid "" "Means that the preceding character (or group of characters) may occur zero or " "more times." msgstr "" "Означает, что предшествующий символ (или группа символов) может встречаться " "ноль или более раз." #. type: TP #: sudoers.5:32 #, no-wrap msgid "CW<+>" msgstr "CW<+>" #. type: Plain text #: sudoers.5:35 msgid "" "Means that the preceding character (or group of characters) may occur one or " "more times." msgstr "" "Означает, что предшествующий символ (или группа символов) может встречаться " "один или более раз." #. type: Plain text #: sudoers.5:38 msgid "" "Parentheses can be used to group symbols. For clarity, we'll use single " "quotation marks ('') to delimit expressions that should be read and " "understood literally (as opposed to symbolic names)." msgstr "" "Круглые скобки могут использоваться для объединения символов в группы. Для " "ясности, мы будем использовать одинарные ('') кавычки для выделения " "выражений, которые следует читать и понимать буквально (в противоположность " "символическим именам)." #. type: SS #: sudoers.5:38 #, no-wrap msgid "Aliases" msgstr "Псевдонимы" #. type: Plain text #: sudoers.5:42 msgid "" "There are four types of aliases: CW, CW, " "CW, and CW." msgstr "" "Имеется четыре типа псевдонимов: CW, CW, " "CW и CW." #. type: Plain text #: sudoers.5:48 #, no-wrap msgid "" "Alias ::= 'User_Alias' User_Alias (':' User_Alias)* |\n" " 'Runas_Alias' Runas_Alias (':' Runas_Alias)* |\n" " 'Host_Alias' Host_Alias (':' Host_Alias)* |\n" " 'Cmnd_Alias' Cmnd_Alias (':' Cmnd_Alias)*\n" msgstr "" "Псевдоним ::= 'User_Alias' User_Alias (':' User_Alias)* |\n" " 'Runas_Alias' Runas_Alias (':' Runas_Alias)* |\n" " 'Host_Alias' Host_Alias (':' Host_Alias)* |\n" " 'Cmnd_Alias' Cmnd_Alias (':' Cmnd_Alias)*\n" #. type: Plain text #: sudoers.5:52 msgid "User_Alias ::= NAME '=' User_List" msgstr "User_Alias ::= NAME '=' User_List" #. type: Plain text #: sudoers.5:56 msgid "Runas_Alias ::= NAME '=' Runas_User_List" msgstr "Runas_Alias ::= NAME '=' Runas_User_List" #. type: Plain text #: sudoers.5:60 msgid "Host_Alias ::= NAME '=' Host_List" msgstr "Host_Alias ::= NAME '=' Host_List" #. type: Plain text #: sudoers.5:64 msgid "Cmnd_Alias ::= NAME '=' Cmnd_List" msgstr "Cmnd_Alias ::= NAME '=' Cmnd_List" #. type: Plain text #: sudoers.5:68 msgid "NAME ::= [A-Z]([A-Z][0-9]_)*" msgstr "NAME ::= [A-Z]([A-Z][0-9]_)*" #. type: Plain text #: sudoers.5:71 msgid "Each definition of I has the form" msgstr "Каждое определение I<псевдонима> имеет форму" #. type: Plain text #: sudoers.5:74 #, no-wrap msgid " Alias ​​Type NAME = element 1, element 2, ...\n" msgstr " Тип_Псевдонима НАЗВАНИЕ = элемент1, элемент2, ...\n" #. type: Plain text #: sudoers.5:79 msgid "" "where I is one of CW, CW, " "CW, or CW. CW is a set of uppercase characters, " "digits, and underscores ('_'). CW B begin with an uppercase " "character. This allows multiple alias definitions of the same type to be " "placed on a single line, separated by a colon (':'). That is," msgstr "" "где I<Тип_Псевдонима> является одним из CW, CW, " "CW, или CW. CW<НАЗВАНИЕ> это набор символов, " "набранных в верхнем регистре, цифр, и символов подчеркивания ('_'). " "CW<НАЗВАНИЕ> B<должно> начинаться с символа, набранного в верхнем регистре. " "Это позволяет размещать несколько определений псевдонимов одного типа в одной " "строке, разделенных знаком двоеточия (':'). Т.е." #. type: Plain text #: sudoers.5:82 #, no-wrap msgid " Alias ​​Type NAME = element 1, element 2, element 3 : NAME = element 4, element 5\n" msgstr " Тип_Псевдонима НАЗВАНИЕ = элемент1, элемент2, элемент3 : НАЗВАНИЕ = элемент4, элемент5\n" #. type: Plain text #: sudoers.5:85 msgid "The definition is followed by a valid value of I." msgstr "За определением следует допустимое значение I<псевдонима>." #. type: Plain text #: sudoers.5:89 #, no-wrap msgid "" " User_List ::= User |\n" " User ',' User_List\n" msgstr "" " User_List ::= User |\n" " User ',' User_List\n" #. type: Plain text #: sudoers.5:96 #, no-wrap msgid "" " User ::= '!'* username |\n" " '!'* '%'group |\n" " '!'* '+'netgroup |\n" " '!'* User_Alias\n" msgstr "" " User ::= '!'* username |\n" " '!'* '%'group |\n" " '!'* '+'netgroup |\n" " '!'* User_Alias\n" #. type: Plain text #: sudoers.5:100 msgid "" "A CW consists of one or more usernames (username), user " "identifiers (uid) starting with \\*(L'#', system groups (group) starting with " "\\*(L'%'), network groups (netgroup) starting with \\*(L'+', and other " "aliases (User_Alias). Each list element may begin with one or more \\*(L'!" "\\*(R' operators. A negated value of the \\*(L'!\\*(R' operator negates the " "value of an element; a positive value only cancels the value of another." msgstr "" "CW состоит из одного, или более, имени пользователя (username), " "идентификатора пользователя (uid), начинающегося со знака \\*(L'#', cистемной " "группы (group), начинающейся со знака \\*(L'%'), сетевой группы (netgroup), " "начинающейся со знака \\*(L'+', и других псевдонимов (User_Alias). Каждый " "элемент списка может начинаться с одного, или более, оператора \\*(L'!\\*(R'. " "Отрицающее значение оператора \\*(L'!\\*(R' отрицает значение элемента; " "положительное значение только отменяет значение другого." #. type: Plain text #: sudoers.5:104 #, no-wrap msgid "" " Runas_List ::= Runas_User |\n" " Runas_User ',' Runas_List\n" msgstr "" " Runas_List ::= Runas_User |\n" " Runas_User ',' Runas_List\n" #. type: Plain text #: sudoers.5:112 #, no-wrap msgid "" " Runas_User ::= '!'* username |\n" " '!'* '#'uid |\n" " '!'* '%'group |\n" " '!'* +netgroup |\n" " '!'* Runas_Alias\n" msgstr "" " Runas_User ::= '!'* username |\n" " '!'* '#'uid |\n" " '!'* '%'group |\n" " '!'* +netgroup |\n" " '!'* Runas_Alias\n" #. type: Plain text #: sudoers.5:117 msgid "" "CW is similar to CW, except that although it contains " "user identifiers uid (starting with '#'), instead of CW it " "contains CW." msgstr "" "CW аналогичен CW, за исключением того, что хоть в нём " "и присутствуют идентификаторы пользователей uid (начинающиеся со знака '#'), " "однако вместо CW он содержит CW." #. type: Plain text #: sudoers.5:122 #, no-wrap msgid "" " Host_List ::= Host |\n" " Host ',' Host_List\n" msgstr "" " Host_List ::= Host |\n" " Host ',' Host_List\n" #. type: Plain text #: sudoers.5:130 #, no-wrap msgid "" " Host ::= '!'* hostname |\n" " '!'* ip_addr |\n" " '!'* network(/netmask)? |\n" " '!'* '+'netgroup |\n" " '!'* Host_Alias\n" msgstr "" " Host ::= '!'* hostname |\n" " '!'* ip_addr |\n" " '!'* network(/netmask)? |\n" " '!'* '+'netgroup |\n" " '!'* Host_Alias\n" #. type: Plain text #: sudoers.5:137 msgid "" "CW consists of one or more hostnames, IP addresses (ip_addr), " "network numbers, netmasks (starting with \\*(L'+'), and other aliases " "(Host_Alias). Again, the value can be negated with the \\*(L'!\\*(R' " "operator. If you do not specify a netmask with a network number, the " "appropriate netmask of the host's external network I\\| will be " "used. The netmask can be specified either as four groups of numbers separated " "by dots (e.g. 255.255.255.0) or by specifying CIDR (number of bits, e.g. 24). " "The hostname can contain shell-style wildcards (see the `Wildcards\\*(R' " "section below), but if the CW command on your host returns the full " "hostname, then to use masks you will need to use the I option." msgstr "" "CW состоит из одного, или более, имен машин (hostname), IP адресов " "(ip_addr), номеров сетей (network), сетевых групп (netmask, начинающихся со " "знака \\*(L'+') и других псевдонимов (Host_Alias). Опять-же, значение может " "отрицаться оператором \\*(L'!\\*(R'. Если вы не укажете маску сети с номером " "сети, то будет использоваться подходящая сетевая маска внешнего сетевого " "I<интерфейса>\\| машины. Сетевая маска может быть указана либо четырьмя " "группами чисел, разделенных между собой точками, (т.е. 255.255.255.0) или " "указанием CIDR (числом бит, т.е. 24). Имя машины может содержать символы " "подстановки в стиле интерпретатора команд (см. ниже секцию `Символы " "подстановки\\*(R'), но если команда CW на вашей машине возвращает " "полное имя машины, то для использования маски вы должны будете использовать " "опцию I." #. type: Plain text #: sudoers.5:141 #, no-wrap msgid "" " Cmnd_List ::= Cmnd |\n" " Cmnd ',' Cmnd_List\n" msgstr "" " Cmnd_List ::= Cmnd |\n" " Cmnd ',' Cmnd_List\n" #. type: Plain text #: sudoers.5:147 #, no-wrap msgid "" " commandname ::= filename |\n" " filename args |\n" " filename '\"\"'\n" msgstr "" " commandname ::= filename |\n" " filename args |\n" " filename '\"\"'\n" #. type: Plain text #: sudoers.5:153 #, no-wrap msgid "" " Cmnd ::= '!'* commandname |\n" " '!'* directory |\n" " '!'* Cmnd_Alias\n" msgstr "" " Cmnd ::= '!'* commandname |\n" " '!'* directory |\n" " '!'* Cmnd_Alias\n" #. type: Plain text #: sudoers.5:158 msgid "" "CW is a list of command names, directories, and other aliases. A " "command name is a complete filename, which can contain wildcards used by the " "command interpreter (see the section `Wildcards\\*(R'). A simple filename " "allows the user to execute the command with any arguments they wish. You can " "also use command-line arguments (including wildcards). Additionally, you can " "use CW<\"\"> to specify that this command can be executed without command-" "line parameters. A directory is a complete pathname ending with \\*(L'/" "\\*(R'. If you specify a directory in CW, the user can execute any " "file within that directory (but not in its subdirectories)." msgstr "" "CW это список имен комманд (commandnames), каталогов (directory), " "и других псевдонимов (Cmnd_Alias). Имя команды это полное имя файла, которое " "может содержать символы подстановки используемые интерпретатором команд (см. " "секцию `Символы подстановки\\*(R'). Простое имя файла позволяет пользователю " "выполнять команду с любыми аргументами, какие он пожелает. Также вы можете " "использовать аргументы командной строки (включая символы подстановки). " "Дополнительно вы можете использовать CW<\"\"> для указания, что эта команда " "может быть выполнена B<без> параметров командной строки. Каталог, это полное " "имя имя пути, заканчивающееся с \\*(L'/\\*(R'. Если вы укажите каталог в " "CW, то пользователь сможет выполнить любой файл, в пределах того " "каталога (но не в его подкаталогах)." #. type: Plain text #: sudoers.5:160 msgid "" "If CW has associated command-line arguments, then the arguments " "specified by the user in CW must exactly match the arguments on the " "command line (or match wildcards, if any). Note that the following characters " "must begin with \\*(L'\\e\\*(R' if they are used in command arguments: \\*(L'," "\\*(R', \\*(L':\\*(R', \\*(L'=\\*(R', \\*(L'\\e\\*(R'." msgstr "" "Если CW имеет ассоциированные аргументы командной строки, то аргументы, " "указанные пользователем в CW, должны точно соответствовать аргументам в " "командной строке (или соответствовать символам подстановки, если таковые " "имеются). Обратите внимание, что следующие символы должны начинаться с " "\\*(L'\\e\\*(R', если они используются в аргументах команд: \\*(L',\\*(R', " "\\*(L':\\*(R', \\*(L'=\\*(R', \\*(L'\\e\\*(R'." #. type: SS #: sudoers.5:160 #, no-wrap msgid "Default values" msgstr "Значения по умолчанию" #. type: Plain text #: sudoers.5:163 msgid "" "Some default configuration parameter values ​​can be changed at runtime through " "one or more CW entries. These can affect all users on any " "computer, all users on a specific computer, or only a specific user. When " "multiple values ​​are present, they are applied sequentially. If there are " "conflicting values, the last one in the row takes effect." msgstr "" "Некоторые значения параметров конфигурации по умолчанию могут быть изменены " "во время выполнения через одну или несколько записей CW. Они " "могут касаться всех пользователей на любом компьютере, всех пользователей на " "определенном компьютере, или только определенного пользователя. Когда имеется " "множество значений, то они применяются поочередно. Если имеются конфликтующие " "значения, то эффект будет иметь последнее из них в строке." #. type: Plain text #: sudoers.5:168 #, no-wrap msgid "" " Default_Type ::= 'Defaults' ||\n" " 'Defaults' ':' User ||\n" " 'Defaults' '@' Host\n" msgstr "" " Default_Type ::= 'Defaults' ||\n" " 'Defaults' ':' User ||\n" " 'Defaults' '@' Host\n" #. type: Plain text #: sudoers.5:172 #, no-wrap msgid " Default_Entry ::= Default_Type Parameter_List\n" msgstr " Default_Entry ::= Default_Type Parameter_List\n" #. type: Plain text #: sudoers.5:179 #, no-wrap msgid "" " Parameter ::= Parameter '=' Value ||\n" "\t Parameter '+=' Value ||\n" "\t Parameter '-=' Value ||\n" " '!'* Parameter ||\n" msgstr "" " Parameter ::= Parameter '=' Value ||\n" "\t Parameter '+=' Value ||\n" "\t Parameter '-=' Value ||\n" " '!'* Parameter ||\n" #. type: Plain text #: sudoers.5:183 msgid "" "Parameters can be B, B values, B, or lists. " "Flags are boolean and can be turned off using the \\*(L'!\\*(R' operator. " "Some parameters, integers, expressions, and lists, can also be used in " "boolean context to turn it off. Values ​​can be enclosed in double quotes " "(CW<\">) if they contain repeated words. Special characters can begin with a " "backslash (CW<\\e>)." msgstr "" "Параметры могут быть B<флагами>, B<целочисленными> значениями, B<выражениями> " "или списками. Флаги являются булевыми и могут быть выключены при помощи " "оператора \\*(L'!\\*(R'. Некоторые параметры, целочисленные, выражения и " "списки, могут быть так же использованы в булевом контексте для его " "отключения. Значения могут быть заключены в двойные кавычки (CW<\">), если " "они содержат повторяющиеся слова. Специальные символы могут начинаться с " "символа \"обратный слэш\" (CW<\\e>)." #. type: Plain text #: sudoers.5:185 msgid "B:" msgstr "B<Флаги>:" #. type: TP #: sudoers.5:185 #, no-wrap msgid "\"long_otp_prompt\" " msgstr "\"long_otp_prompt\" " #. type: Plain text #: sudoers.5:189 msgid "" "When authenticating using the One Time Password (B or B) scheme, " "a dual command line is used to facilitate \"cut and paste\" into a local " "window. This isn't as visually appealing as the default, but some people find " "it more convenient. This option is disabled by default." msgstr "" "При идентификации по схеме One Time Password (B или B), " "используется двойная командная строка, чтобы облегчить возможность \"вырезать " "и вставлять\" вызов в локальное окно. Это не так хорошо выглядит, как " "значение по умолчанию, но некоторые люди найдут это более удобным. По " "умолчанию этот флаг выключен." #. type: TP #: sudoers.5:189 #, no-wrap msgid "\"ignore_dot\" " msgstr "\"ignore_dot\" " #. type: Plain text #: sudoers.5:193 msgid "" "If this flag is set, B will ignore \\*(L'.\\*(R' or \\*(L'\\*(R' " "(current directory) in CW<$PATH>; CW<$PATH> itself is not changed. This flag " "is I by default." msgstr "" "Если этот флаг установлен, то B будет игнорировать \\*(L'.\\*(R' или " "\\*(L'\\*(R' (текущий каталог) в CW<$PATH>; сам CW<$PATH> при этом не " "меняется. Этот флаг I<включен> по умолчанию." #. type: TP #: sudoers.5:193 #, no-wrap msgid "\"mail_always\" " msgstr "\"mail_always\" " #. type: Plain text #: sudoers.5:196 msgid "" "Send a message to user I every time users execute B. This flag " "is I by default." msgstr "" "Отправить сообщение пользователю I каждый раз, когда пользователи " "выполняют B. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:196 #, no-wrap msgid "\"mail_badpass\" " msgstr "\"mail_badpass\" " #. type: Plain text #: sudoers.5:199 msgid "" "Send a message to user I if the user executing B enters an " "incorrect password. This flag is disabled by default." msgstr "" "Отправить сообщение пользователю I, если пользователь выполняющий " "B ввёл неверный пароль. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:199 #, no-wrap msgid "\"mail_no_user\" " msgstr "\"mail_no_user\" " #. type: Plain text #: sudoers.5:202 msgid "" "If this flag is set, a message will be sent to user I if the user " "executing B is not in the I file. By default, this flag is " "I." msgstr "" "Если этот флаг установлен, сообщение будет отправлено пользователю I, " "если пользователь, выполняющий B, отсутствует в файле I. По " "умолчанию этот флаг I<включен>." #. type: TP #: sudoers.5:202 #, no-wrap msgid "\"mail_no_host\" " msgstr "\"mail_no_host\" " #. type: Plain text #: sudoers.5:205 msgid "" "If this flag is set, a message will be sent to user I if the calling " "user is listed in the I file but does not have permission to execute " "commands on this machine. By default, this flag is I." msgstr "" "Если этот флаг установлен, пользователю I будет отправлено сообщение, " "если вызывающий пользователь присутствует в файле I, но не имеет " "прав на выполнение команд на данной машине. По умолчанию этот флаг " "I<выключен>." #. type: TP #: sudoers.5:205 #, no-wrap msgid "\"mail_no_perms\" " msgstr "\"mail_no_perms\" " #. type: Plain text #: sudoers.5:208 msgid "" "If this flag is set, a message will be sent to user I if the calling " "user has permission to execute B, but the command they are attempting " "to execute is not in that user's entry in the I file. By default, " "this flag is disabled." msgstr "" "Если этот флаг установлен, пользователю I будет отправлено сообщение, " "если вызывающий пользователь имеет право выполнять B, но команда, " "которую он пытается выполнить, отсутствует в записи этого пользователя в " "файле I. По умолчанию этот флаг выключен." #. type: TP #: sudoers.5:208 #, no-wrap msgid "\"tty_tickets\" " msgstr "\"tty_tickets\" " #. type: Plain text #: sudoers.5:211 msgid "" "If this flag is set, B will use the ticket dir (a directory of the " "form /var/run/sudo/ticket_name, where ticket_name is the username or terminal " "from which the user logged in) for terminal-by-terminal user authentication. " "This is the mechanism by which B keeps track of whether a given user " "has previously invoked B (used, in particular, for lecture) and the " "time at which the user (or terminal, if tty_tickets is used) last " "successfully authenticated. By default, this flag is enabled." msgstr "" "Если этот флаг установлен, B будет использовать ticket dir (каталог " "вида /var/run/sudo/имя_ticketа, где имя_ticketa совпадает с именем " "пользователя или терминала, с которого пользователь вошел в систему) для по-" "терминальной аутентификации пользователей. Это механизм, с помощью которого " "B отслеживает, что данный пользователь уже вызывал B " "(используется, в частности, для lecture) и момент времени, когда была " "произведена последняя успешная аутентификация данного пользователя (или " "терминала, если используется tty_tickets). По умолчанию этот флаг I<включен>." #. type: TP #: sudoers.5:211 #, no-wrap msgid "\"lecture\" " msgstr "\"lecture\" " #. type: Plain text #: sudoers.5:214 msgid "" "If this flag is set, the first time the user uses B, they will receive " "a short tutorial. By default, this flag is I." msgstr "" "Если этот флаг установлен, то при первом использовании B пользователь " "получит короткую лекцию. По умолчанию этот флаг I<включен>." #. type: TP #: sudoers.5:214 #, no-wrap msgid "\"authenticate\" " msgstr "\"authenticate\" " #. type: Plain text #: sudoers.5:217 msgid "" "If this flag is set, users must authenticate themselves with a password (or " "other authentication method) before they can execute commands. This setting " "can be changed using the CW and CW tags. By default, this " "flag is enabled." msgstr "" "Если этот флаг установлен, то пользователи должны аутентифицировать себя при " "помощи пароля (или другим способом аутентификации) прежде, чем они смогут " "выполнять команды. Эта установка может быть изменена при помощи тэгов " "CW и CW. По умолчанию этот флаг I<включен>." #. type: TP #: sudoers.5:217 #, no-wrap msgid "\"root_sudo\" " msgstr "\"root_sudo\" " #. type: Plain text #: sudoers.5:220 msgid "" "If this flag is set, the superuser (root) is also allowed to execute B. " "Disabling this will prevent users from executing B commands like " "CW to gain a command shell with superuser (root) " "privileges. This flag is enabled by default." msgstr "" "Если этот флаг установлен, то супер-пользователю (root) также разрешено " "выполнять B. Отключение этого позволит предотвратить выполнение " "пользователями \\*(L\"цепочек\\*(R\" команд B, подобных CW<\"sudo sudo /" "bin/sh\">, в целях получения ими командной оболочки с правами супер-" "пользователя (root). Этот флаг I<включен> по умолчанию." #. type: TP #: sudoers.5:220 #, no-wrap msgid "\"log_host\" " msgstr "\"log_host\" " #. type: Plain text #: sudoers.5:223 msgid "" "If this flag is set, the machine name will be written to the (non-system) " "B log file. By default, this flag is I." msgstr "" "Если этот флаг установлен, то имя машины будет записано в (не системном) " "файле журнала B. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:223 #, no-wrap msgid "\"log_year\" " msgstr "\"log_year\" " #. type: Plain text #: sudoers.5:226 msgid "" "If this flag is set, the year will be written to the (non-system) B log " "file in four-digit format. By default, this flag is I." msgstr "" "Если установлен этот флаг, то год будет записан в (не системном) файле " "журнала B в четырехразрядном формате. По умолчанию этот флаг " "I<выключен>." #. type: TP #: sudoers.5:226 #, no-wrap msgid "\"shell_noargs\" " msgstr "\"shell_noargs\" " #. type: Plain text #: sudoers.5:229 msgid "" "If this flag is set and B is called without parameters, it is " "equivalent to calling it with the CW<-s> flag. That is, it runs a shell as " "the superuser (root) (the shell is determined by the CW environment " "variable, if specified; otherwise, the shell specified in the user account " "invoking the command in the /etc/passwd file is invoked). By default, this " "flag is disabled." msgstr "" "Если этот флаг установлен и B вызвано без параметров, то это " "равносильно вызову с флагом CW<-s>. То-есть, это запускает оболочку от имени " "супер-пользователя (root) (оболочка определена переменной окружения " "CW, если она указана, если нет, то происходит обращение к оболочке, " "указанной в учетной записи пользователя вызывающего команду файла /etc/" "passwd). По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:229 #, no-wrap msgid "\"set_home\" " msgstr "\"set_home\" " #. type: Plain text #: sudoers.5:232 msgid "" "If this flag is set and B is invoked with the CW<-s> flag, the CW " "environment variable will be set to the home directory of the target user " "(which is the superuser (root) unless the CW<-u> option is specified). This " "will cause the CW<-H> flag to be assumed instead of the CW<-s> flag. By " "default, this flag is I." msgstr "" "Если этот флаг установлен и B вызвано с флагом CW<-s>, переменная " "окружения CW будет установлена в домашний каталог целевого пользователя " "(которым является супер-пользователь (root), если не указан параметр CW<-u>). " "Это заставит подразумевать вместо флага CW<-s> флаг CW<-H>. По умолчанию этот " "флаг I<выключен>." #. type: TP #: sudoers.5:232 #, no-wrap msgid "\"always_set_home\" " msgstr "\"always_set_home\" " #. type: Plain text #: sudoers.5:235 msgid "" "If this flag is set, B will set the CW environment variable to " "the home directory of the target user (which is the superuser (root) unless " "the CW<-u> option is specified). This implies that the CW<-H> flag is always " "used. By default, this flag is I." msgstr "" "Если этот флаг установлен, то B установит переменную окружения CW " "к домашнему каталогу целевого пользователя (которым является супер-" "пользователь (root), если не указан параметр CW<-u>). Это подразумевает, что " "флаг CW<-H> используется постоянно. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:235 #, no-wrap msgid "\"path_info\" " msgstr "\"path_info\" " #. type: Plain text #: sudoers.5:239 msgid "" "Typically, B informs the user that the command is not found in their " "CW<$PATH> environment variable. Some sites may disable this feature, as it " "can be used to gather information about the location of executable files that " "the regular user does not have access to. The disadvantage is that if the " "program is simply not found in the user's CW<$PATH>, B will report that " "the user does not have permission to execute it, which can cause confusion. " "By default, this flag is disabled." msgstr "" "Обычно, B сообщает пользователю, что команда не найдена в его " "переменной окружения CW<$PATH>. Некоторые сайты могут отключить эту функцию, " "так как это может быть использовано для сбора информации о месторасположении " "исполняемых файлов к которым обычный пользователь не имеет доступа. " "Неудобство состоит в том, что если программа просто не найдена в " "пользовательском CW<$PATH>, то B сообщит, что пользователь не имеет " "права на ее выполнение, что может вызвать путаницу. По умолчанию этот флаг " "I<выключен>." #. type: TP #: sudoers.5:239 #, no-wrap msgid "preserve_groups" msgstr "preserve_groups" #. type: Plain text #: sudoers.5:242 msgid "" "By default, B initializes the group vector to the list of groups to " "which the target user belongs. When I is set, the user's " "existing group vector is left unchanged. The real and effective group IDs are " "adjusted to match the target user's. By default, this flag is I." msgstr "" "По умолчанию B инициализирует групповой вектор к списку групп, которому " "принадлежит целевой пользователь. Когда I установлен, то " "существующий вектор группы пользователя остаётся неизменным. А реальный и " "эффективный ID группы, наоборот, приводятся в соответствие с целевым " "пользователем. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:242 #, no-wrap msgid "\"fqdn\" " msgstr "\"fqdn\" " #. type: Plain text #: sudoers.5:249 msgid "" "Enable this flag if you want to put fully qualified hostnames in the " "I file. That is, instead of myhost, you would use " "myhost.mydomain.edu. You can still use the short form (and even mix the two) " "if you wish. Beware! Enabling I B requires a DNS lookup table, " "which may cause B to stop responding if DNS goes down (for example, if " "the machine is not connected to the network). Also note that you should use " "only the official hostname by which it is known to DNS. That is, you cannot " "use a host alias (a CW record) due to performance issues and the fact " "that it is not possible to obtain all aliases from DNS. If your hostname is " "fully qualified (as reported by the CW command output), then you do " "not need to enable I. This flag is disabled by default." msgstr "" "Установите этот флаг если вы хотите поместить полные имена машин в файл " "I. То-есть, вместо myhost вы бы использовали myhost.mydomain.edu. " "Вы все-равно можете, при желании, использовать краткую форму (и даже " "смешивать две). Остерегайтесь! Для включения I B требуется " "сделать поисковую таблицу DNS, из-за чего B может перестать " "реагировать, если DNS прекратит свою работу (например, если машина не " "подключена к сети). Так же обратите внимание, что вы должны использовать " "только официальное имя машины под которым она известна DNS. То есть, Вы не " "можете использовать псевдоним машины (запись CW) из-за проблем " "производительности и факта, что не возможно получить все псевдонимы от DNS. " "Если имя вашей машины полное (как сообщает вывод команды CW), то у " "вас нет необходимости задействовать I. По умолчанию этот флаг " "I<выключен>." #. type: TP #: sudoers.5:249 #, no-wrap msgid "\"insults\" " msgstr "\"insults\" " #. type: Plain text #: sudoers.5:252 msgid "" "If this flag is set, B will notify users when they enter an incorrect " "password. By default, this flag is I." msgstr "" "Если этот флаг установлен, то B сообщит пользователям, когда они вводят " "неверный пароль. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:252 #, no-wrap msgid "\"requiretty\" " msgstr "\"requiretty\" " #. type: Plain text #: sudoers.5:255 msgid "" "If this flag is set, B will only be executed if the user is logged in " "from a real terminal. This prevents things like CW<\"rsh somehost sudo ls\">, " "since I\\|(1) does not assign a terminal. Since there is no way to " "disable the response if there is no terminal, some sites may set this flag to " "prevent the user from entering their password in cleartext. By default, this " "flag is I." msgstr "" "Если этот флаг установлен, B будет выполнено только в том случае, если " "пользователь вошел в систему с реального терминала. Это предотвращает вещи, " "подобные CW<\"rsh somehost sudo ls\">, так как I\\|(1) не назначает " "терминал. Так как нет возможности отключить отклик, если терминал " "отсутствует, некоторые сайты могут устанавливать этот флаг для предотвращения " "ввода пользователем пароля открытым текстом. По умолчанию этот флаг " "I<выключен>." #. type: TP #: sudoers.5:255 #, no-wrap msgid "\"env_editor\" " msgstr "\"env_editor\" " #. type: Plain text #: sudoers.5:258 msgid "" "If this flag is set, B will use the value of the EDITOR or VISUAL " "variable before reverting to the default list of editors. Note that this can " "create security holes, as it allows the user to execute arbitrary commands as " "the superuser, which are not subject to any control. A more secure approach " "is to place a semicolon-separated list of editors in the editor variable. " "This will allow B to use EDITOR and VISUAL only if they match the " "value specified in the editor. This flag is enabled by default." msgstr "" "Если этот флаг установлен, B будет использовать значение переменной " "EDITOR или VISUAL и лишь после этого возвращаться к списку редакторов по " "умолчанию. Учтите, что это может создать прорехи в защите, так как позволит " "пользователю выполнять произвольные команды от имени супер-пользователя, не " "подлежащие какому-либо контролю. Более безопасным является помещение списка " "редакторов, разделённых точкой с запятой, в переменную редактора. Это " "позволит B использовать EDITOR и VISUAL только если они соответствуют " "значению, указанному в редакторе. Этот флаг I<включен> по умолчанию." #. type: TP #: sudoers.5:258 #, no-wrap msgid "\"rootpw\" " msgstr "\"rootpw\" " #. type: Plain text #: sudoers.5:261 msgid "" "If this flag is set, B will prompt for the superuser (root) password " "instead of the password of the user initiating the command. By default, this " "flag is I." msgstr "" "Если этот флаг установлен, B будет запрашивать пароль супер-" "пользователя (root), вместо пароля пользователя инициировавшего вызов " "команды. По умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:261 #, no-wrap msgid "\"runaspw\" " msgstr "\"runaspw\" " #. type: Plain text #: sudoers.5:264 msgid "" "If this flag is set, B will prompt for the password of the user " "specified by the I option (default is the superuser (root)) " "instead of the password of the user who initiated the command. By default, " "this flag is I." msgstr "" "Если этот флаг установлен, B будет запрашивать пароль пользователя, " "определенного опцией I (по умолчанию супер-пользователь " "(root)) вместо пароля пользователя инициировавшего вызов команды. По " "умолчанию этот флаг I<выключен>." #. type: TP #: sudoers.5:264 #, no-wrap msgid "\"targetpw\" " msgstr "\"targetpw\" " #. type: Plain text #: sudoers.5:267 msgid "" "If this flag is set, B will prompt for the password of the user " "specified with the CW<-u> flag (the superuser (root) by default) instead of " "the password of the user who initiated the command. By default, this flag is " "I." msgstr "" "Если этот флаг установлен, B будет запрашивать пароль пользователя, " "указанного при помощи флага CW<-u> (по умолчанию супер-пользователь (root)) " "вместо пароля пользователя инициировавшего вызов команды. По умолчанию этот " "флаг I<выключен>." #. type: TP #: sudoers.5:267 #, no-wrap msgid "\"set_logname\" " msgstr "\"set_logname\" " #. type: Plain text #: sudoers.5:272 msgid "" "Normally, B sets the CW and CW environment variables to " "the name of the target user (usually the superuser (root), unless the CW<-u> " "flag is specified). However, since some programs (including the RCS " "authentication management system) use CW to authenticate a user, you " "may want to change this behavior. This can be done by negating the " "set_logname option." msgstr "" "Обычно, B устанавливает переменные окружения CW и CW к " "имени целевого пользователя (обычно супер-пользователя (root), если не задан " "флаг CW<-u>). Однако, так как некоторые программы (включая систему " "управления проверкой RCS) используют CW, чтобы определить " "подлинность пользователя, то может возникнуть желание изменить это поведение. " "Это может быть сделано посредством отрицания опции set_logname." #. type: TP #: sudoers.5:272 #, no-wrap msgid "stay_setuid" msgstr "stay_setuid" #. type: Plain text #: sudoers.5:275 msgid "" "Normally, when B executes a command, the real and effective UIDs are " "set to the target user (by default, the superuser (root)). This option " "changes its behavior so that the real UID remains the same as that of the " "user who initiated it. In other words, it makes B act as a setuid " "handler. This is useful for disabling potentially dangerous functionality " "when executing setuid programs. Note that this means that B executes " "with the real UID of the user who initiated it, which may allow that user to " "kill B before it can log the failure, depending on how your system " "handles signals and setuid processes." msgstr "" "Обычно, когда B выполняет команду, реальный и эффективный UID " "устанавливаются в значение целевого пользователя (по умолчанию супер-" "пользователь (root)). Этот параметр изменит его поведение таким образом, что " "реальный UID останется таким же, как и у пользователя инициировавшего его " "выполнение. Другими словами это заставляет B действовать как " "обработчика setuid. Это полезно для отключения потенциально опасной " "функциональности при выполнении setuid-программ. Обратите внимание, что это " "означает то, что B выполняется с реальным uid пользователя " "инициировавшего его выполнение, что может позволить этому пользователю " "уничтожить B раньше, чем тот сможет запротоколировать отказ, в " "зависимости от того, как ваша система определяет взаимодействие между " "сигналами и setuid-процессами." #. type: TP #: sudoers.5:275 #, no-wrap msgid "env_reset" msgstr "env_reset" #. type: Plain text #: sudoers.5:278 msgid "" "If set, B will clear the environment variables, leaving only the " "following: HOME, LOGNAME, PATH, SHELL, TERM, and USER (in addition to the " "SUDO_* variables). Of these, only TERM will be copied completely unchanged. " "Other variables will be set to their default values ​​(possibly modified " "according to the I parameter). If B was compiled with the " "SECURE_PATH parameter, this value will be used for the PATH environment " "variable. Other variables can be preserved using the I parameter." msgstr "" "Если установлено, то B обнулит значения переменных окружения оставив " "только следующие: HOME, LOGNAME, PATH, SHELL, TERM, и USER (в дополнение к " "переменным SUDO_*). Из них будет полностью скопирован в неизменном виде " "только TERM. Прочие переменные будут установлены в значения по умолчанию " "(возможно изменённые в соответствии со значениями параметра I). " "Если B было собрано с параметром SECURE_PATH, то это значение быдет " "использовано для переменной окружения PATH. Другие переменные могут быть " "сохранены использованием параметра I." #. type: TP #: sudoers.5:278 #, no-wrap msgid "\"use_loginclass\" " msgstr "\"use_loginclass\" " #. type: Plain text #: sudoers.5:281 msgid "" "If this flag is set, B will apply the default settings defined for the " "target user's login class. This is only available if B is configured " "with the --with-logincap option. By default, this flag is disabled." msgstr "" "Если этот флаг установлен, B применит установки по умолчанию, " "определенные для входа в систему класса целевого пользователя. Это доступно " "только если B сконфигурировано с опцией --with-logincap. По умолчанию " "этот флаг I<выключен>." #. type: Plain text #: sudoers.5:283 msgid "B:" msgstr "B<Целые числа>:" #. type: TP #: sudoers.5:283 #, no-wrap msgid "passwd_tries" msgstr "passwd_tries" #. type: Plain text #: sudoers.5:286 msgid "" "The number of times a user attempts to enter a password before B " "registers a failure and terminates. Default is 3." msgstr "" "Количество пользовательских попыток ввести пароль прежде, чем B " "регистрирует неудачу и прекращает работу. По умолчанию 3." #. type: Plain text #: sudoers.5:288 msgid "B:" msgstr "B<Целые числа, которые могут быль использованы в булевом контексте>:" #. type: TP #: sudoers.5:288 #, no-wrap msgid "\"loglinelen\" " msgstr "\"loglinelen\" " #. type: Plain text #: sudoers.5:291 msgid "" "Number of characters per line in the log file. This value is used to specify " "the optimal number of characters to use for line wrapping in log files. This " "will not affect the system log, only the B log file. By default, this " "value is 80 (use 0 or the negative value to disable line wrapping)." msgstr "" "Количество знаков в строке в файле журнала. Это значение используется для " "указания через какое количество знаков лучше производить верстку строк в " "файлах журнала. Это не окажет влияния на системном журнале, только на файле " "журнала B. По умолчанию это значение равно 80 (используйте 0 или " "отрицание для отключения верстки строк)." #. type: TP #: sudoers.5:291 #, no-wrap msgid "\"timestamp_timeout\" " msgstr "\"timestamp_timeout\" " #. type: Plain text #: sudoers.5:294 msgid "" "The number of minutes that must pass before B prompts for a password " "again. The default is 5. Setting this value to 0 will always prompt for a " "password. Setting a value less than 0 will cause the user's timestamps to " "expire. This can be used to allow users to control the creation and deletion " "of their own timestamps using sudo -v and sudo -k , respectively." msgstr "" "Количество минут, которое должно пройти перед тем, как B запросит " "пароль снова. По умолчанию это 5. Установка этого значения в 0 заставит " "программу запрашивать пароль всегда. Установка значения меньшего, чем 0 будет " "означать, что временные метки пользователя бессрочны. Это может быть " "использовано для того, чтобы позволить пользователям самим управлять " "созданием и удалением своих временных меток при помощи sudo -v и sudo -k " "соответственно." #. type: TP #: sudoers.5:294 #, no-wrap msgid "passwd_timeout" msgstr "passwd_timeout" #. type: Plain text #: sudoers.5:297 msgid "" "The number of minutes B will wait for a password re-entry before the " "old password expires. The default value is 5. To disable password waiting, " "set this value to 0." msgstr "" "Количество минут, в течение которых B будет ожидать повторного ввода " "пароля прежде, чем истечёт срок действия прежнего пароля. Значение по " "умолчанию - 5. Для отключения ожидания пароля установите это значение равным " "0." #. type: TP #: sudoers.5:297 #, no-wrap msgid "\"umask\" " msgstr "\"umask\" " #. type: Plain text #: sudoers.5:300 msgid "" "The umask used when executing the command. Set this value to 0777 to preserve " "the user's umask. The default is 0022." msgstr "" "Umask используемое при выполнении команды. Установите это значение в 0777 для " "сохранения umask пользователя. По умолчанию это 0022." #. type: Plain text #: sudoers.5:302 msgid "B:" msgstr "B<Строчные значения>:" #. type: TP #: sudoers.5:302 #, no-wrap msgid "\"mailsub\" " msgstr "\"mailsub\" " #. type: Plain text #: sudoers.5:307 msgid "" "The subject of the message sent to user I. Using CW<%h> will allow " "you to specify the machine name. By default, this is \\*(L\"*** SECURITY " "information for CW<%h> ***\\*(R\"." msgstr "" "Тема сообщения, отправляемого пользователю I. Использование CW<%h> " "позволит указать имя машины. По умолчанию это \\*(L\"*** SECURITY " "information for CW<%h> ***\\*(R\"." #. type: TP #: sudoers.5:307 #, no-wrap msgid "\"badpass_message\" " msgstr "\"badpass_message\" " #. type: Plain text #: sudoers.5:311 msgid "" "The message that will be displayed if the user enters an incorrect password. " "By default, this is \\*(L\"Sorry, try again.\\*(R\", if I usage is " "enabled." msgstr "" "Сообщение, которое будет отображено, если пользователь введет неверный " "пароль. По умолчанию это \\*(L\"Sorry, try again.\\*(R\", если включено " "использование I." #. type: TP #: sudoers.5:311 #, no-wrap msgid "timestampdir" msgstr "timestampdir" #. type: Plain text #: sudoers.5:315 msgid "" "The directory where B stores its temporary tag files. By default, this " "is I." msgstr "" "Каталог в котором B хранит свои временные файлы-метки. По умолчанию " "это I." #. type: TP #: sudoers.5:315 #, no-wrap msgid "\"passprompt\" " msgstr "\"passprompt\" " #. type: Plain text #: sudoers.5:318 msgid "" "The default password prompt; this can be changed using the CW<-p> option or " "the CW environment variable. Two escape sequences are supported: " "\\*(L\"%u\\*(R\" displays the name of the currently logging in user, and " "\\*(L\"%h\\*(R\" displays the local hostname. The default is \\*(L\"Password:" "\\*(R\"." msgstr "" "Вид приглашения для ввода пароля по умолчанию; может быть изменен при помощи " "параметра CW<-p> или переменной окружения CW. Поддерживаются два " "варианта управляющих последовательностей: \\*(L\"%u\\*(R\" отображает имя " "входящего в систему пользователя и \\*(L\"%h\\*(R\" выводит локальное имя " "машины. Значение по умолчанию - \\*(L\"Password:\\*(R\"." #. type: TP #: sudoers.5:318 #, no-wrap msgid "\"runas_default\" " msgstr "\"runas_default\" " #. type: Plain text #: sudoers.5:321 msgid "" "The default user under which commands are executed unless the CW<-u> flag is " "specified on the command line. By default, this is \\*(L\"root\\*(R\" " "(superuser)." msgstr "" "Пользователь по умолчанию, от чьего имени выполняются команды, если в " "командной строке не указан флаг CW<-u>. По умолчанию это \\*(L\"root\\*(R\" " "(супер-пользователь)." #. type: TP #: sudoers.5:321 #, no-wrap msgid "\"syslog_goodpri\" " msgstr "\"syslog_goodpri\" " #. type: Plain text #: sudoers.5:324 msgid "" "Syslog priority in case of successful user registration in the system. By " "default, \\*(L\"notice\\*(R\"." msgstr "" "Приоритет Syslog в случае успешной регистрации пользователя в системе. По " "умолчанию \\*(L\"notice\\*(R\"." #. type: TP #: sudoers.5:324 #, no-wrap msgid "syslog_badpri" msgstr "syslog_badpri" #. type: Plain text #: sudoers.5:327 msgid "" "Syslog priority in case user registration fails. Default is " "\\*(L\"alert\\*(R\"." msgstr "" "Приоритет Syslog в случае, если регистрация пользователя окончилась неудачей. " "По умолчанию \\*(L\"alert\\*(R\"." #. type: TP #: sudoers.5:327 #, no-wrap msgid "editor" msgstr "editor" #. type: Plain text #: sudoers.5:330 msgid "" "A colon-separated (:) list of editors approved for use with B. " "B will, if possible, select the editor corresponding to the USER " "environment variable, or the first one in the list that is present on the " "system and executable. By default, this is the path to the vi editor on your " "system." msgstr "" "Разделённый через двоеточие (:) список программ для редактирования, " "допущенных к использованию с B. B выберет, по возможности, " "редактор соответствующий пользовательской переменной окружения USER, или " "первый из списка, присутствующий в системе и доступный для выполнения. По " "умолчанию это путь к редактору vi в вашей системе." #. type: Plain text #: sudoers.5:332 msgid "B:" msgstr "B<Выражения, которые могут быть использованы в булевом контексте>:" #. type: TP #: sudoers.5:332 #, no-wrap msgid "logfile" msgstr "logfile" #. type: Plain text #: sudoers.5:335 msgid "" "Path to the B log file (not syslog). Specifying a path enables logging " "of events to the log file; negating it disables it." msgstr "" "Путь к файлу журнала B (не syslog). Указание пути включает регистрацию " "событий в файл журнала; отрицание выключает это." #. type: TP #: sudoers.5:335 #, no-wrap msgid "syslog" msgstr "syslog" #. type: Plain text #: sudoers.5:338 msgid "" "Syslog event logging tool (negative to disable syslog logging). Default is " "\\*(L\"authpriv\\*(R\"." msgstr "" "Средство для регистрации событий в системном журнале Syslog (укажите " "отрицание для отключения регистрации в syslog). По умолчанию установлено " "\\*(L\"authpriv\\*(R\"." #. type: TP #: sudoers.5:338 #, no-wrap msgid "mailerpath" msgstr "mailerpath" #. type: Plain text #: sudoers.5:341 msgid "" "The path to the mail delivery program for sending warning messages. By " "default, this is the path to Sendmail specified during configuration." msgstr "" "Путь к программе доставки почты для отправки предупредительных сообщений. По " "умолчанию это путь к sendmail определенный в момент конфигурации." #. type: TP #: sudoers.5:341 #, no-wrap msgid "mailerflags" msgstr "mailerflags" #. type: Plain text #: sudoers.5:344 msgid "Flags used when calling the mail program. Default is CW<-t>." msgstr "Флаги используемые при вызове почтовой программы. По умолчанию CW<-t>." #. type: TP #: sudoers.5:344 #, no-wrap msgid "mailto" msgstr "mailto" #. type: Plain text #: sudoers.5:347 msgid "" "The address to which warnings and error messages will be sent. The address " "must be enclosed in double quotes (\") to prevent sudo from interpreting the " "@ sign. Defaults to \\*(L\"root\\*(R\" (superuser)." msgstr "" "Адрес, по которому будут отправлены предупреждения и сообщения об ошибках. " "Адрес должен быть заключен в двойные кавычки (\") во избежание интерпретации " "sudo знака @. По умолчанию \\*(L\"root\\*(R\" (супер-пользователь)." #. type: TP #: sudoers.5:347 #, no-wrap msgid "exempt_group" msgstr "exempt_group" #. type: Plain text #: sudoers.5:351 msgid "" "Users in this group are not required to specify a password or restrict the " "PATH variable. This is not set by default." msgstr "" "Пользователи в этой группе лишены необходимости в указании пароля и " "ограничений переменной PATH. По умолчанию это не установлено." #. type: TP #: sudoers.5:351 #, no-wrap msgid "verifypw" msgstr "verifypw" #. type: Plain text #: sudoers.5:354 msgid "" "Enabling this parameter controls the cases in which executing B with B<-" "v> requires password confirmation. This feature can have the following valid " "values:" msgstr "" "Включением этого параметра регулируются случаи, в которых выполнение B " "с B<-v> требует подтверждения паролем. Эта функция может иметь следующие " "допустимые значения:" #. type: Plain text #: sudoers.5:359 #, no-wrap msgid "" " all All user entries in I\n" " for this computer must have the NOPASSWD flag set\n" " to prevent password prompting.\n" msgstr "" " all Все пользовательские записи в I\n" " для данного компьютера должны иметь установленный\n" " флаг NOPASSWD во избежание ввода пароля.\n" #. type: Plain text #: sudoers.5:366 #, no-wrap msgid "" " any At least one user entry for a given computer in\n" " I must have the NOPASSWD flag set to\n" " prevent password entry.\n" msgstr "" " any Хотя бы одна пользовательская запись для данного\n" " компьютера в I должна иметь\n" " установленный флаг NOPASSWD во избежание\n" " ввода пароля.\n" #. type: Plain text #: sudoers.5:371 #, no-wrap msgid "" " never To use the B<-v> flag, the user \n" " must not use a password.\n" msgstr "" " never Для использования флага B<-v> пользователь \n" " не должен использовать пароль.\n" #. type: Plain text #: sudoers.5:376 #, no-wrap msgid "" " always The user must always enter a password to use\n" " the B<-v> flag.\n" msgstr "" " always Пользователь должен всегда вводить пароль для\n" " использования флага B<-v>.\n" #. type: Plain text #: sudoers.5:379 msgid "The default value is `all\\*(R'." msgstr "Значение по умолчанию `all\\*(R'." #. type: TP #: sudoers.5:379 #, no-wrap msgid "listpw" msgstr "listpw" #. type: Plain text #: sudoers.5:382 msgid "" "This parameter controls whether a password is required when a user executes " "B with B<-l>. This function can have the following valid values:" msgstr "" "Этим параметром регулируются случаи, когда требуется указание пароля при " "выполнении пользователем B с B<-l>. Эта функция может иметь следующие " "допустимые значения:" #. type: Plain text #: sudoers.5:387 #, no-wrap msgid "" " all All user entries in I\n" " for this computer must have the NOPASSWD flag set\n" " to prevent password entry.\n" msgstr "" " all Все пользовательские записи в I\n" " для данного компьютера, должны иметь установленный\n" " флаг NOPASSWD во избежание ввода пароля.\n" #. type: Plain text #: sudoers.5:394 #, no-wrap msgid "" " any At least one user entry for a given computer in I\n" " must have the NOPASSWD flag set to prevent password entry.\n" msgstr "" " any Хотя бы одна пользовательская запись для данного\n" " компьютера в I должна иметь\n" " установленный флаг NOPASSWD, во избежание\n" " ввода пароля.\n" #. type: Plain text #: sudoers.5:399 #, no-wrap msgid "" " never To use the B<-l> flag, the user \n" " must not use a password.\n" msgstr "" " never Для использования флага B<-l> пользователь \n" " не должен использовать пароль.\n" #. type: Plain text #: sudoers.5:404 #, no-wrap msgid "" " always The user must always enter a password to use\n" " the B<-l> flag.\n" msgstr "" " always Пользователь должен всегда вводить пароль для\n" " использования флага B<-l>.\n" #. type: Plain text #: sudoers.5:407 msgid "The default value is `any\\*(R'." msgstr "По умолчанию принято значение `any\\*(R'." #. type: SS #: sudoers.5:408 #, no-wrap msgid "Lists that can be used in a boolean context:" msgstr "Списки, которые могут быть использованы в булевом контексте:" #. type: TP #: sudoers.5:409 #, no-wrap msgid "env_check" msgstr "env_check" #. type: Plain text #: sudoers.5:412 msgid "" "If environment variable values ​​contain the % or / characters, these variables " "will be removed from user variables. This can be used to protect against " "vulnerabilities in poorly written printf-style programs. The argument can be " "a double-quoted string, a space-separated list, or a single value without " "double quotes. The list can be replaced, appended to, removed from, or " "disabled using the =, +=, -=, and ! operators, respectively. The default list " "of checked environment variables can be obtained by executing B with " "the I<-V> option as root." msgstr "" "Если значения переменных окружения содержат символы % или /, то эти " "переменные будут удалены из пользовательских переменных. Это может быть " "использовано для защиты от уязвимости плохо написанных программ в printf-" "style формате. Аргументом может быть заключение в двойные кавычки, " "разделенный пробелами список или одинарное значение без двойных кавычек. " "Список может быть замещен, добавлен к, удален из, или отключен при помощи " "операторов =, +=, -= и ! соответственно. Список проверяемых переменных " "окружения по умолчанию может быть получен при выполнении B с параметром " "I<-V> от имени root." #. type: TP #: sudoers.5:412 #, no-wrap msgid "env_delete" msgstr "env_delete" #. type: Plain text #: sudoers.5:415 msgid "" "Environment variables to be removed from user variables. The argument can be " "a double-quoted string, a space-separated list, or a single value without " "double quotes. The list can be replaced, appended to, removed from, or " "unapplied using the =, +=, -=, and ! operators, respectively. A list of " "default environment variables to remove can be obtained by running B " "with the I<-V> option as root." msgstr "" "Переменные окружения, которые будут удалены из пользовательских переменных. " "Аргументом может быть заключение в двойные кавычки, разделенный пробелами " "список или одинарное значение без двойных кавычек. Список может быть замещен, " "добавлен к, удален из, или отключен при помощи операторов =, +=, -= и ! " "соответственно. Список удаляемых переменных окружения по умолчанию может быть " "получен при выполнении B с параметром I<-V> от имени root." #. type: TP #: sudoers.5:415 #, no-wrap msgid "env_keep" msgstr "env_keep" #. type: Plain text #: sudoers.5:418 msgid "" "Environment variables that will be preserved in user variables even if the " "I option is used. This allows fine-grained control over the " "environment variables accessed by processes spawned by B. The argument " "can be a double-quoted string, a space-separated list, or a single value " "without double quotes. The list can be replaced, appended to, removed from, " "or disabled using the =, +=, -=, and ! operators, respectively. By default, " "this list is empty." msgstr "" "Переменные окружения, которые будут сохранены в пользовательских переменных, " "даже если используется параметр I. Это позволяет осуществить " "филигранный контроль над переменными окружения, получаемыми процессами " "порождёнными B. Аргументом может быть заключение в двойные кавычки, " "разделенный пробелами список или одинарное значение без двойных кавычек. " "Список может быть замещен, добавлен к, удален из, или отключен при помощи " "операторов =, +=, -= и ! соответственно. По умолчанию этот список пуст." #. type: TP #: sudoers.5:418 #, no-wrap msgid "If logging via I\\|(3) is enabled, B accepts the following values ​​for better interaction with syslog (the value of the B Parameter): B (if your OS supports it), B, B, B, B, B, B, B, B, B, B, and B. The following syslog priorities are supported: B, B, B, B, B, B, B, and B." msgstr "Если включена регистрация событий через I\\|(3), B акцептирует следующие значения для лучшего взаимодействия с syslog (значение Параметра B): B (если ваша ОС поддерживает это), B, B, B, B, B, B, B, B, B, B, и B. Поддерживаются следующие приоритеты syslog: B, B, B, B, B, B, B, и B." #. type: SS #: sudoers.5:420 #, no-wrap msgid "User Specification" msgstr "Спецификация Пользователя" #. type: Plain text #: sudoers.5:425 #, no-wrap msgid "" " User_Spec ::= User_list Host_List '=' User_List Cmnd_Spec_List \\e\n" " (':' User_Spec)*\n" msgstr "" " User_Spec ::= User_list Host_List '=' User_List Cmnd_Spec_List \\e\n" " (':' User_Spec)*\n" #. type: Plain text #: sudoers.5:430 #, no-wrap msgid "" " Cmnd_Spec_List ::= Cmnd_Spec |\n" " Cmnd_Spec ',' Cmnd_Spec_List\n" msgstr "" " Cmnd_Spec_List ::= Cmnd_Spec |\n" " Cmnd_Spec ',' Cmnd_Spec_List\n" #. type: Plain text #: sudoers.5:434 #, no-wrap msgid " Cmnd_Spec ::= Runas_Spec? ('NOPASSWD:' | 'PASSWD:')? Cmnd\n" msgstr " Cmnd_Spec ::= Runas_Spec? ('NOPASSWD:' | 'PASSWD:')? Cmnd\n" #. type: Plain text #: sudoers.5:438 #, no-wrap msgid " Runas_Spec ::= '(' Runas_List ')'\n" msgstr " Runas_Spec ::= '(' Runas_List ')'\n" #. type: Plain text #: sudoers.5:441 msgid "" "B determines which commands a user (and which user) can " "execute on a given machine. By default, commands are executed as B " "(root), but this can be changed at the per-command level." msgstr "" "B<Спецификация пользователя> определяет какие команды может выполнять " "пользователь (и какой пользователь) на определенной машине. По умолчанию, " "команды выполняются от имени B<супер-пользователя> (root), но это может быть " "изменено на уровне по-командного доступа." #. type: Plain text #: sudoers.5:443 msgid "Let's look at this in more detail:" msgstr "Давайте разберем это детальнее:" #. type: SS #: sudoers.5:443 #, no-wrap msgid "Runas_Spec" msgstr "Runas_Spec" #. type: Plain text #: sudoers.5:448 msgid "" "CW is simply a CW (as defined above) enclosed in " "parentheses. If you don't define a CW in the user specification, " "the B (root) CW will be used by default. " "CW sets the default value for the commands that follow it. Here's " "what this means in the notation:" msgstr "" "CW это просто CW (как определено выше) заключенный в " "круглые скобки. Если вы не определяете CW в спецификации " "пользователя, то по умолчанию будет использован CW B<супер-" "пользователя> (root). CW устанавливает значение по умолчанию для " "команд следующих после него. Вот что это означает в записи:" #. type: Plain text #: sudoers.5:451 #, no-wrap msgid " dgb boulder = (operator) /bin/ls, /bin/kill, /usr/bin/who\n" msgstr " dgb boulder = (operator) /bin/ls, /bin/kill, /usr/bin/who\n" #. type: Plain text #: sudoers.5:455 msgid "" "User B can execute I, I, and I -- but " "only as B. That is," msgstr "" "Пользователь B может выполнять I, I, и I -- но только как B. Т.е." #. type: Plain text #: sudoers.5:458 #, no-wrap msgid " sudo -u operator /bin/ls.\n" msgstr " sudo -u operator /bin/ls.\n" #. type: Plain text #: sudoers.5:461 msgid "" "It's also possible to override CW further down the line. If we " "change the entry like this:" msgstr "" "Также возможно отменить CW далее, в той же строке. Если мы " "изменим запись вот так:" #. type: Plain text #: sudoers.5:464 #, no-wrap msgid " dgb boulder = (operator) /bin/ls, (root) /bin/kill, /usr/bin/lprm\n" msgstr " dgb boulder = (operator) /bin/ls, (root) /bin/kill, /usr/bin/lprm\n" #. type: Plain text #: sudoers.5:468 msgid "" "User B is now allowed to execute I as B, but I and I as B." msgstr "" "Пользователю B теперь разрешено выполнять I как B, но " "I и I как B." #. type: SS #: sudoers.5:468 #, no-wrap msgid "NOPASSWD and PASSWD" msgstr "NOPASSWD и PASSWD" #. type: Plain text #: sudoers.5:474 msgid "" "By default, B requires the user to authenticate before executing a " "command. This behavior can be changed using the CW tag. Like " "CW, CW sets the default value for commands following " "CW. CW can be used to reverse the default. For " "example:" msgstr "" "По умолчанию B требует чтобы пользователь аутентифицировал себя " "заранее, до выполнения команды. Это поведение может быть изменено через тэг " "CW. Как и CW, тэг CW устанавливает значение " "по умолчанию для команд, следующих за CW. Тэг CW " "может использоваться в целях изменения значений наоборот. Например:" #. type: Plain text #: sudoers.5:477 #, no-wrap msgid " ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm\n" msgstr " ray rushmore = NOPASSWD: /bin/kill, /bin/ls, /usr/bin/lprm\n" #. type: Plain text #: sudoers.5:480 msgid "" "would allow user B to execute I, I, and I as B (root) on the machine rushmore without authentication. " "If we want to allow B to execute only I without a password, " "then the entry should be:" msgstr "" "позволило бы пользователю B выполнять I, I, и I как B<супер-пользователю> (root) на машине rushmore без " "аутентификации. Если мы хотим разрешить B выполнять без пароля только I, то запись должна быть:" #. type: Plain text #: sudoers.5:483 #, no-wrap msgid " ray rushmore = NOPASSWD: /bin/kill, PASSWD: /bin/ls, /usr/bin/lprm\n" msgstr " ray rushmore = NOPASSWD: /bin/kill, PASSWD: /bin/ls, /usr/bin/lprm\n" #. type: Plain text #: sudoers.5:486 msgid "" "Note that the CW tag will have no effect on users specified in the " "group specified by the exempt_group option." msgstr "" "Обратите внимание, что тэг CW не возымеет эффекта на пользователях, " "указанных в группе, определенной опцией exempt_group." #. type: Plain text #: sudoers.5:489 msgid "" "By default, if any user account on this machine has the CW tag " "applied, that user can execute CW without specifying a password. " "Additionally, a user can only execute CW without a password if the " "CW tag is present for all users associated with this machine. This " "behavior can be modified using the verifypw and listpw parameters." msgstr "" "По умолчанию, если к какой-либо записи пользователя на данной машине применен " "тэг CW, он или она сможет выполнять CW без указания " "пароля. Также, пользователь может выполнять без пароля только CW, " "если отметка CW присутствует для всех пользователей, которые " "относятся к данному компьютеру. Это поведение может быть изменено при помощи " "параметров verifypw и listpw." #. type: SS #: sudoers.5:489 #, no-wrap msgid "Wildcard characters (metacharacters):" msgstr "Символы подстановки (метасимволы):" #. type: Plain text #: sudoers.5:492 msgid "" "B allows I, similar to shell wildcards, to be used in " "pathnames as well as in command-line options in the I file. " "Wildcards conform to B CW. Note that these are I " "regular expressions." msgstr "" "B позволяет использовать I<знаки подстановки>, подобные знакам " "подстановки оболочки, для использования в именах пути также, как в параметрах " "командной строки в файле I. Знаки подстановки соответствуют B " "CW. Обратите внимание, что это I<не> регулярные выражения." #. type: TP #: sudoers.5:492 #, no-wrap msgid "\"CW<*>\" " msgstr "\"CW<*>\" " #. type: Plain text #: sudoers.5:495 msgid "Matches any number of characters, including zero." msgstr "Соответствует любому количеству символов, в том числе нулю." #. type: Plain text #: sudoers.5:498 msgid "Matches any single character." msgstr "Соответствует любому одному символу." #. type: TP #: sudoers.5:498 #, no-wrap msgid "CW<[...]>" msgstr "CW<[...]>" #. type: Plain text #: sudoers.5:501 msgid "Matches any character in the given range." msgstr "Соответствует любому символу в заданном диапазоне." #. type: TP #: sudoers.5:501 #, no-wrap msgid "\"CW<[!...]>\" " msgstr "\"CW<[!...]>\" " #. type: Plain text #: sudoers.5:504 msgid "Matches any character B in the specified range." msgstr "Соответствует любому символу B<не> в указанном диапазоне." #. type: TP #: sudoers.5:504 #, no-wrap msgid "CW<\\ex>" msgstr "CW<\\ex>" #. type: Plain text #: sudoers.5:507 msgid "" "For any character \\*(L\"x\\*(R\", take the value \\*(L\"x\\*(R\". This is " "necessary for using special characters: \\*(L\"*\\*(R\", \\*(L\"?\\*(R\", " "\\*(L\"[\\*(R\", and \\*(L\"}\\*(R\"." msgstr "" "Для любого символа \\*(L\"x\\*(R\", принять значение \\*(L\"x\\*(R\". Это " "необходимо для использования специальных символов: \\*(L\"*\\*(R\", \\*(L\"?" "\\*(R\", \\*(L\"[\\*(R\", и \\*(L\"}\\*(R\"." #. type: Plain text #: sudoers.5:509 msgid "" "Note that the slash ('/') B match wildcards used in the pathname. " "However, when compared to command-line parameters, the slash B match " "the wildcard character. This makes a path like this:" msgstr "" "Обратите внимание, что знак слэша ('/') B<не> будет соответствовать символам " "подстановки используемым в имени пути. Однако, если сравнивать с параметрами " "командной строки, слэш B<будет> соответствовать символу подстановки. Это " "делает путь подобный:" #. type: Plain text #: sudoers.5:512 #, no-wrap msgid " /usr/bin/*\n" msgstr " /usr/bin/*\n" #. type: Plain text #: sudoers.5:515 msgid "corresponding to CW, but not CW." msgstr "соответствующим CW, но не CW." #. type: SS #: sudoers.5:515 #, no-wrap msgid "Exceptions to the wildcard rules:" msgstr "Исключения из правил символов подстановки:" #. type: Plain text #: sudoers.5:518 msgid "The following exceptions apply to the above rules:" msgstr "К вышеприведенным правилам применимы следующие исключения:" #. type: TP #: sudoers.5:518 #, no-wrap msgid "CW<\"\"\"\"> " msgstr "CW<\"\"\"\"> " #. type: Plain text #: sudoers.5:521 msgid "" "If the only command line parameter in an I entry is the empty string " "CW<\"\">, it means that the command cannot be executed with B parameters." msgstr "" "Если единственным параметром командной строки, в записи I, является " "пустая строка CW<\"\">, это означает, что команда не может быть выполнена " "B<ни с какими> параметрами." #. type: SS #: sudoers.5:521 #, no-wrap msgid "Other special characters and reserved words:" msgstr "Другие специальные символы и зарезервированные слова:" #. type: Plain text #: sudoers.5:526 msgid "" "The pound sign ('#') is used to denote a comment (unless it occurs in the " "context of a username, is followed by one or more digits, and is treated as a " "universal user identifier (uid)). Both the comment sign and any text " "following it are ignored until the end of the line." msgstr "" "Знак фунта ('#') используется для обозначения комментария (если это " "происходит не в контексте имени пользователя, сопровождается одной или более " "цифр и обрабатывается как универсальный идентификатор пользователя (uid)). И " "знак комментария, и любой текст после него, игнорируются до конца строки." #. type: Plain text #: sudoers.5:529 msgid "" "The reserved word B is a built-in I that is always defined. It " "can be used anywhere the aliases CW, CW, " "CW, or CW would be appropriate. You should not " "attempt to define your own I with the name B, as the built-in " "alias will be used instead of your own. Remember that using B in a " "command context is dangerous, as it allows the user to execute B command " "on the system." msgstr "" "Зарезервированное слово B является встроенным I<псевдонимом>, которое " "всегда имеет определение. Это может использоваться везде, где было бы уместно " "использование псевдонимов CW, CW, CW, " "или CW. Вы не должны пытаться назначить свой собственный " "I<псевдоним> с именем B, поскольку встроенный псевдоним будет " "использоваться вместо вашего собственного. Помните, что использование B " "в контексте команды опасно, так как позволит пользователю выполнить B<любую> " "команду в системе." #. type: Plain text #: sudoers.5:532 msgid "" "The exclamation mark (\\*(R'!') can be used as a logical I operator, " "both in I and before CW. This allows some values ​​to be excluded. " "Note that using CW in combination with the built-in alias CW to allow " "the user to execute \\*(L\"all but a few\\*(R\" commands does not always work " "as expected (see SECURITY NOTE below)." msgstr "" "Знак восклицания (\\*(R'!') может быть использован как логический оператор " "I<не>, как в I<псевдониме>, так и перед CW. Это позволяет исключать " "некоторые значения. Обратите внимание, что использование CW в сочетании с " "встроенным псевдонимом CW для разрешения выполнения пользователем " "\\*(L\"всего кроме нескольких\\*(R\" команд не всегда работает должным " "образом (см. БЕЗОПАСНОСТЬ ПРИМЕЧАНИЯ ниже)." #. type: Plain text #: sudoers.5:534 msgid "" "Long lines can be wrapped using a backslash (\\*(R'\\e') if it is the last " "character in the line." msgstr "" "Длинные строки могут быть перенесены при помощи обратного слэша (\\*(R'\\e'), " "если он является последним символом в строке." #. type: Plain text #: sudoers.5:536 msgid "" "Spaces between description elements, as well as special syntax symbols in " "I ('=\\*(R', \\*(L':\\*(R', \\*(L'(\\*(R', \\*(L')'), are " "optional." msgstr "" "Пробелы между элементами описания, также как и специальные синтаксические " "символы в I<Спецификации пользователя> ('=\\*(R', \\*(L':\\*(R', " "\\*(L'(\\*(R', \\*(L')'), являются необязательными." #. type: Plain text #: sudoers.5:539 msgid "" "The following characters must begin with a backslash (\\*(R'\\e') when used " "as part of a word (i.e., a username or computer name): \\&'@\\*(R', \\*(L'!" "\\*(R', \\*(L'=\\*(R', \\*(L':\\*(R', \\*(L',\\*(R', \\*(L'(\\*(R', \\*(L')" "\\*(R', \\*(L'\\e\\*(R'." msgstr "" "Следующие символы должны начинаться с символа обратного слэша (\\*(R'\\e'), " "когда используются как часть слова (т.е. имя пользователя или имя " "компьютера): \\&'@\\*(R', \\*(L'!\\*(R', \\*(L'=\\*(R', \\*(L':\\*(R', \\*(L'," "\\*(R', \\*(L'(\\*(R', \\*(L')\\*(R', \\*(L'\\e\\*(R'." #. type: SH #: sudoers.5:539 #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: sudoers.5:542 msgid "" "Below are some example I entries. Some of them may be fictitious. " "First, we define our I:" msgstr "" "Ниже приведены примеры записей I. Возможно, некоторые из них " "являются выдуманными. Сначала мы определяем свои I<псевдонимы>:" #. type: Plain text #: sudoers.5:548 #, no-wrap msgid "" " # Defining user aliases\n" " User_Alias FULLTIMERS = millert, mikef, dowdy\n" " User_Alias PARTTIMERS = bostley, jwfox, crawl\n" " User_Alias WEBMASTERS = will, wendy, wim\n" msgstr "" " # Определение псевдонимов пользователя\n" " User_Alias FULLTIMERS = millert, mikef, dowdy\n" " User_Alias PARTTIMERS = bostley, jwfox, crawl\n" " User_Alias WEBMASTERS = will, wendy, wim\n" #. type: Plain text #: sudoers.5:554 #, no-wrap msgid "" " # Defining Runas Aliases\n" " Runas_Alias OP = root, operator\n" " Runas_Alias DB = oracle, sybase\n" msgstr "" " # Определение псевдонимов Runas (Выполнить как)\n" " Runas_Alias OP = root, operator\n" " Runas_Alias DB = oracle, sybase\n" #. type: Plain text #: sudoers.5:566 #, no-wrap msgid "" " # Defining Machine Aliases\n" " Host_Alias SPARC = bigtime, eclipse, moet, anchor :\\e\n" " SGI = grolsch, dandelion, black :\\e\n" " ALPHA = widget, thalamus, foobar :\\e\n" " HPPA = boa, nag, python\n" " Host_Alias CUNETS = 128.138.0.0/255.255.0.0\n" " Host_Alias CSNETS = 128.138.243.0, 128.138.204.0/24, 128.138.242.0\n" " Host_Alias SERVERS = master, mail, www, ns\n" " Host_Alias CDROM = orion, perseus, hercules\n" msgstr "" " # Определение псевдонимов машин\n" " Host_Alias SPARC = bigtime, eclipse, moet, anchor :\\e\n" " SGI = grolsch, dandelion, black :\\e\n" " ALPHA = widget, thalamus, foobar :\\e\n" " HPPA = boa, nag, python\n" " Host_Alias CUNETS = 128.138.0.0/255.255.0.0\n" " Host_Alias CSNETS = 128.138.243.0, 128.138.204.0/24, 128.138.242.0\n" " Host_Alias SERVERS = master, mail, www, ns\n" " Host_Alias CDROM = orion, perseus, hercules\n" #. type: Plain text #: sudoers.5:581 #, no-wrap msgid "" " # Defining Cmnd Aliases\n" " Cmnd_Alias DUMPS = /usr/bin/mt, /usr/sbin/dump, /usr/sbin/rdump,\\e\n" " /usr/sbin/restore, /usr/sbin/rrestore\n" " Cmnd_Alias KILL = /usr/bin/kill\n" " Cmnd_Alias PRINTING = /usr/sbin/lpc, /usr/bin/lprm\n" " Cmnd_Alias SHUTDOWN = /usr/sbin/shutdown\n" " Cmnd_Alias HALT = /usr/sbin/halt, /usr/sbin/fasthalt\n" " Cmnd_Alias REBOOT = /usr/sbin/reboot, /usr/sbin/fastboot\n" " Cmnd_Alias SHELLS = /usr/bin/sh, /usr/bin/csh, /usr/bin/ksh, \\e\n" " /usr/local/bin/tcsh, /usr/bin/rsh, \\e\n" " /usr/local/bin/zsh\n" " Cmnd_Alias SU = /usr/bin/su\n" msgstr "" " # Определение псевдонимов Cmnd (команд)\n" " Cmnd_Alias DUMPS = /usr/bin/mt, /usr/sbin/dump, /usr/sbin/rdump,\\e\n" " /usr/sbin/restore, /usr/sbin/rrestore\n" " Cmnd_Alias KILL = /usr/bin/kill\n" " Cmnd_Alias PRINTING = /usr/sbin/lpc, /usr/bin/lprm\n" " Cmnd_Alias SHUTDOWN = /usr/sbin/shutdown\n" " Cmnd_Alias HALT = /usr/sbin/halt, /usr/sbin/fasthalt\n" " Cmnd_Alias REBOOT = /usr/sbin/reboot, /usr/sbin/fastboot\n" " Cmnd_Alias SHELLS = /usr/bin/sh, /usr/bin/csh, /usr/bin/ksh, \\e\n" " /usr/local/bin/tcsh, /usr/bin/rsh, \\e\n" " /usr/local/bin/zsh\n" " Cmnd_Alias SU = /usr/bin/su\n" #. type: Plain text #: sudoers.5:585 msgid "" "Here we'll override some built-in defaults. We want B to log events " "using I\\|(3), always using the I method. We don't want B " "to lecture all users, and we don't want user B to specify a " "password. Additionally, on machines in I CW, we'll keep " "an additional local log file and make sure to record the year on each line of " "the log file, since log entries will be kept for several years." msgstr "" "Здесь мы переопределим некоторые встроенные значения по умолчанию. Мы хотим, " "чтобы B регистрировал события при помощи I\\|(3), во всех " "случаях используя метод I. Мы не хотим, что бы B читало лекции " "всем пользователям, и пользователь B не должен указывать пароль. В " "добавок, на машинах в I CW мы держим дополнительный " "локальный файл журнала и удостоверимся, что мы регистрируем год в каждой " "строке файла журнала, так как записи журнала будут сохраняться в течение " "нескольких лет." #. type: Plain text #: sudoers.5:592 #, no-wrap msgid "" " # Overriding built-in default values\n" " Defaults syslog=auth\n" " Defaults:FULLTIMERS !lecture\n" " Defaults:millert !authenticate\n" " Defaults@SERVERS log_year, logfile=/var/log/sudo.log\n" msgstr "" " # Переопределяем встроенные значения по умолчанию\n" " Defaults syslog=auth\n" " Defaults:FULLTIMERS !lecture\n" " Defaults:millert !authenticate\n" " Defaults@SERVERS log_year, logfile=/var/log/sudo.log\n" #. type: Plain text #: sudoers.5:595 msgid "I is the part that actually defines who can do what." msgstr "" "I<Определение пользователя> является частью, которая фактически определяет " "кто что может выполнять." #. type: Plain text #: sudoers.5:599 #, no-wrap msgid "" " root ALL = (ALL) ALL\n" " %wheel ALL = (ALL) ALL\n" msgstr "" " root ALL = (ALL) ALL\n" " %wheel ALL = (ALL) ALL\n" #. type: Plain text #: sudoers.5:602 msgid "" "We will allow B (root) and any user in group B to execute " "any command on any machine as any user." msgstr "" "Мы позволим B<супер-пользователю> (root) и любому пользователю в группе " "B выполнить любую команду на любой машине от имени любого пользователя." #. type: Plain text #: sudoers.5:605 #, no-wrap msgid " FULLTIMERS ALL = NOPASSWD: ALL\n" msgstr " FULLTIMERS ALL = NOPASSWD: ALL\n" #. type: Plain text #: sudoers.5:608 msgid "" "Full-time system administrators (B, B, and B) can " "execute any command on any machine without authentication." msgstr "" "Системные администраторы занятые полный рабочий день (B, B и " "B) могут выполнить любую команду на любой машине без аутентификации." #. type: Plain text #: sudoers.5:611 #, no-wrap msgid " PARTTIMERS ALL = ALL\n" msgstr " PARTTIMERS ALL = ALL\n" #. type: Plain text #: sudoers.5:614 msgid "" "Part-time system administrators (B, B, and B) can " "execute any command on any computer, but must first authenticate themselves " "(since the entry lacks the CW tag)." msgstr "" "Системные администраторы занятые не полный рабочий день (B, B " "и B) могут выполнить любую команду на любом компьютере, но сначала " "должны себя аутентифицировать (так как в записи отсутствует тэг CW)." #. type: Plain text #: sudoers.5:617 #, no-wrap msgid " jack CSNETS = ALL\n" msgstr " jack CSNETS = ALL\n" #. type: Plain text #: sudoers.5:621 msgid "" "User B can execute any command on machines with the alias I " "(networks CW<128.138.243.0>, CW<128.138.204.0>, and CW<128.138.242.0>). Of " "these networks, only E128.138.204.0E has an explicit network mask " "(according to CIDR) indicating a class C network. For the remaining networks " "in I, the machine's network mask will be used if there is a match." msgstr "" "Пользователь B может выполнить любую команду на машинах с псевдонимом " "I (сети CW<128.138.243.0>, CW<128.138.204.0> и CW<128.138.242.0>). " "Из этих сетей только E128.138.204.0E имеет явную сетевую маску (в " "соответствии с CIDR) означающую сеть класса C. Для остальных сетей в " "I в случае соответствия будет использоваться сетевая маска машины." #. type: Plain text #: sudoers.5:624 #, no-wrap msgid " lisa CUNETS = ALL\n" msgstr " lisa CUNETS = ALL\n" #. type: Plain text #: sudoers.5:627 msgid "" "User B can execute any command on any machine with the alias I " "(class B network CW<128.138.0.0>)." msgstr "" "Пользователь B может выполнять любую команду на любой машине с " "псевдонимом I (сеть класса B CW<128.138.0.0>)." #. type: Plain text #: sudoers.5:631 #, no-wrap msgid "" " operator ALL = DUMPS, KILL, PRINTING, SHUTDOWN, HALT, REBOOT,\\e\n" " /usr/oper/bin/\n" msgstr "" " operator ALL = DUMPS, KILL, PRINTING, SHUTDOWN, HALT, REBOOT,\\e\n" " /usr/oper/bin/\n" #. type: Plain text #: sudoers.5:635 msgid "" "User B can execute commands limited to simple maintenance. In this " "case, these include backups, process kills, the printing system, system " "shutdown, and any command in the I directory." msgstr "" "Пользователь B может выполнять команды ограничивающиеся простым " "обслуживанием. В данном случае таковыми являются резервное копирование, " "уничтожение процессов, система печати, выключение системы и любая команда в " "каталоге I." #. type: Plain text #: sudoers.5:638 #, no-wrap msgid " joe ALL = /usr/bin/su operator\n" msgstr " joe ALL = /usr/bin/su operator\n" #. type: Plain text #: sudoers.5:641 msgid "User B can only execute I\\|(1) operator." msgstr "Пользователь B может выполнять только I\\|(1) оператору." #. type: Plain text #: sudoers.5:644 #, no-wrap msgid " pete HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root\n" msgstr " pete HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root\n" #. type: Plain text #: sudoers.5:647 msgid "" "User B is allowed to change any password except the superuser (root) " "password on I machines. Note that I\\|(1) does not accept " "multiple usernames in a row on a single command line." msgstr "" "Пользователю B разрешено изменять любой пароль, за исключением пароля " "супер-пользователя (root) на машинах I. Учтите, что I\\|(1) не " "воспринимает несколько имен пользователей подряд в одной командной строке." #. type: Plain text #: sudoers.5:650 #, no-wrap msgid " bob SPARC = (OP) ALL : SGI = (OP) ALL\n" msgstr " bob SPARC = (OP) ALL : SGI = (OP) ALL\n" #. type: Plain text #: sudoers.5:653 msgid "" "User B can execute any commands on machines I and I, as the " "user described in CW in I (B and B)." msgstr "" "Пользователь B может выполнять любые команды на машинах I и " "I, как пользователь описанный в CW в I (B и " "B)." #. type: Plain text #: sudoers.5:656 #, no-wrap msgid " jim +biglab = ALL\n" msgstr " jim +biglab = ALL\n" #. type: Plain text #: sudoers.5:660 msgid "" "User B can execute any command on machines in the netgroup I. " "B knows that \\*(L\"biglab\\*(R\" is a netgroup because of the prefix " "\\*(L'+\\*(R'." msgstr "" "Пользователь B может выполнить любую команду на машинах в сетевой группе " "I. B знает, что \\*(L\"biglab\\*(R\" является сетевой группой " "из-за префикса \\*(L'+\\*(R'." #. type: Plain text #: sudoers.5:663 #, no-wrap msgid " +secretaries ALL = PRINTING, /usr/bin/adduser, /usr/bin/rmuser\n" msgstr " +secretaries ALL = PRINTING, /usr/bin/adduser, /usr/bin/rmuser\n" #. type: Plain text #: sudoers.5:666 msgid "" "Users in the B network group should both assist in printer " "management and add and remove users. This allows them to execute these " "commands on all machines." msgstr "" "Пользователи в сетевой группе B должны как помогать в управлении " "принтерами, так и добавлять или удалять пользователей. Таким образом им " "позволено выполнять эти команды на всех машинах." #. type: Plain text #: sudoers.5:669 #, no-wrap msgid " fred ALL = (DB) NOPASSWD: ALL\n" msgstr " fred ALL = (DB) NOPASSWD: ALL\n" #. type: Plain text #: sudoers.5:672 msgid "" "User B can execute commands on behalf of any user in CW " "I (B or B), without specifying a password." msgstr "" "Пользователь B может выполнять команды от имени любого пользователя в " "CW I (B или B), без указания пароля." #. type: Plain text #: sudoers.5:675 #, no-wrap msgid " john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root*\n" msgstr " john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root*\n" #. type: Plain text #: sudoers.5:678 msgid "" "On machines I, user B can su to any user except the superuser " "(root), but has no right to set I\\|(1) any flags." msgstr "" "На машинах I пользователь B может выполнить su любому " "пользователю, за исключением супер-пользователя (root), но не имеет права " "задавать I\\|(1) какие-либо флаги." #. type: Plain text #: sudoers.5:681 #, no-wrap msgid " jen ALL, !SERVERS = ALL\n" msgstr " jen ALL, !SERVERS = ALL\n" #. type: Plain text #: sudoers.5:684 msgid "" "User B can execute any command on any machine except machines in " "CW I (master, mail, www and ns)." msgstr "" "Пользователь B может выполнить любую команду на любой машине, за " "исключением машин в CW I (master, mail, www и ns)." #. type: Plain text #: sudoers.5:687 #, no-wrap msgid " jill SERVERS = /usr/bin/, !SU, !SHELLS\n" msgstr " jill SERVERS = /usr/bin/, !SU, !SHELLS\n" #. type: Plain text #: sudoers.5:690 msgid "" "For any machine in CW I B can execute any command " "in the /usr/bin/ directory, except for commands related to CW " "I and I." msgstr "" "Для любой машины в CW I B может выполнить любую " "команду в каталоге /usr/bin/, за исключением команд относящихся к " "CW I и I." #. type: Plain text #: sudoers.5:693 #, no-wrap msgid " steve CSNETS = (operator) /usr/local/op_commands/\n" msgstr " steve CSNETS = (operator) /usr/local/op_commands/\n" #. type: Plain text #: sudoers.5:696 msgid "" "User B can execute any command in the /usr/local/op_commands/ " "directory, but only as user operator." msgstr "" "Пользователь B может выполнить любую команду в каталоге /usr/local/" "op_commands/, но только как пользователь operator." #. type: Plain text #: sudoers.5:699 #, no-wrap msgid " matt valkyrie = KILL\n" msgstr " matt valkyrie = KILL\n" #. type: Plain text #: sudoers.5:702 msgid "" "On his personal workstation, valkyrie, B needs the ability to kill hung " "processes." msgstr "" "На своей персональной рабочей станции, valkyrie, B необходима " "возможность уничтожать зависшие процессы." #. type: Plain text #: sudoers.5:705 #, no-wrap msgid " WEBMASTERS www = (www) ALL, (root) /usr/bin/su www\n" msgstr " WEBMASTERS www = (www) ALL, (root) /usr/bin/su www\n" #. type: Plain text #: sudoers.5:709 msgid "" "On www machines, any user in CW I (will, wendy, and " "wim) can execute any command as user www (which is the owner of the web " "pages) or just I\\|(1) to www." msgstr "" "На машинах www, любой пользователь в CW I (will, " "wendy и wim), может выполнить любую команду как пользователь www (который " "является владельцем web-страниц) или просто I\\|(1) к www." #. type: Plain text #: sudoers.5:713 #, no-wrap msgid "" " ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\\e\n" " /sbin/mount -o nosuid\\e,nodev /dev/cd0a /CDROM\n" msgstr "" " ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\\e\n" " /sbin/mount -o nosuid\\e,nodev /dev/cd0a /CDROM\n" #. type: Plain text #: sudoers.5:717 msgid "" "Any user can mount or unmount a CD-ROM drive on machines in CW " "I (Orion, Perseus, Hercules) without entering a password. Entering " "this password is somewhat tedious for users, so it's a prime candidate for " "inclusion in a shell script." msgstr "" "Любой пользователь может монтировать или размонтировать CD-ROM на машинах в " "CW I (orion, perseus, hercules) без ввода пароля. Ввод " "этого несколько утомителен для пользователей, поэтому это первейший кандидат " "для включения в сценарий оболочки." #. type: SH #: sudoers.5:717 #, no-wrap msgid "SAFETY TIPS" msgstr "СОВЕТЫ ПО БЕЗОПАСНОСТИ" #. type: Plain text #: sudoers.5:721 msgid "" "In general, \\*(L\"excluding\\*(R\" commands from CW, using the \\*(L'!" "\\*(R' operator, is not effective. The user can trivially bypass this by " "copying the desired commands with different names, and then executing them. " "For example:" msgstr "" "В целом \\*(L\"исключение\\*(R\" команд из CW, с использованием " "оператора \\*(L'!\\*(R', не эффективно. Пользователь может тривиально это " "обойти, копируя желаемые команды с разными именами, и затем их выполнять. " "Например:" #. type: Plain text #: sudoers.5:724 #, no-wrap msgid " bill ALL = ALL, !SU, !SHELLS\n" msgstr " bill ALL = ALL, !SU, !SHELLS\n" #. type: Plain text #: sudoers.5:727 msgid "" "In reality, it's not feasible to prevent B from executing commands " "listed in I or I, as it can easily copy them under different " "names or use shell extensions from an editor or other program. Therefore, " "this type of restriction should be carefully considered (and enforced by " "system policy)." msgstr "" "В действительности не реально предотвратить выполнение B команд, " "перечисленных в I или I, так как он может запросто их скопировать " "под разными названиями, или использовать расширения оболочки из редактора или " "другой программы. Поэтому этот вид ограничений должен быть тщательно изучен " "(и подкреплен системной политикой)." #. type: SH #: sudoers.5:727 #, no-wrap msgid "WARNINGS" msgstr "ПРЕДОСТЕРЕЖЕНИЯ" #. type: Plain text #: sudoers.5:733 msgid "" "The I file should be edited B with the B command, " "which will lock the file and perform a grammar check. This is necessary to " "avoid syntax errors in I, as sudo will not work if there are errors " "in I." msgstr "" "Файл I должен редактироваться B<только> командой B, которая " "блокирует файл и осуществит проверку грамматики. Это обязательно, во " "избежание возникновения ошибок в синтаксисе I, так как sudo не будет " "работать при наличии ошибок в I." #. type: Plain text #: sudoers.5:735 msgid "" "If netgroups or machines (as opposed to users) are used, if you store fully " "qualified machine names in the netgroup (which sometimes happens), then the " "machine names must be fully qualified and match the names returned by the " "CW command, or the I option in I must be used." msgstr "" "Если используются сетевые группы или машины (в противоположность " "пользователям), если вы сохраняете полностью определенные имена машин в " "сетевой группе (что, бывает, случается), то имена машин должны быть полностью " "определенными, и соответствовать именам, возвращаемым командой CW, " "или должна использоваться опция I в I." #. type: SH #: sudoers.5:735 #, no-wrap msgid "FILES" msgstr "ФАЙЛЫ" #. type: Plain text #: sudoers.5:742 #, no-wrap msgid "" " /etc/sudoers, \n" " /etc/sudo.d/* A list of users, indicating what they can do\n" " /etc/group Local groups file\n" " /etc/netgroup List of network groups\n" msgstr "" " /etc/sudoers, \n" " /etc/sudo.d/* Cписок пользователей, с указанием того, что они могут выполнять\n" " /etc/group Файл локальных групп\n" " /etc/netgroup Список сетевых групп\n" #. type: SH #: sudoers.5:747 #, no-wrap msgid "SEE ALSO" msgstr "СМ. ТАКЖЕ" #. type: Plain text #: sudoers.5:749 msgid "" "I(1), I\\|(8), I\\|(8), I\\|(1), I\\|(3)." msgstr "" "I(1), I\\|(8), I\\|(8), I\\|(1), I\\|(3)."