Debian Codegraph @

po/ru/archive/man5/tcb.5.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n\n"
7 "POT-Creation-Date: 2025-06-26 13:20+0200\n"
8 "PO-Revision-Date: 2005-12-06 10:43+0300\n"
9 "Last-Translator: Unknown <>\n"
10 "Language-Team: Russian <[email protected]>\n"
11 "Language: ru\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
16 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
18 #. type: TH
19 #: tcb.5:3
20 #, no-wrap
21 msgid "TCB"
22 msgstr "TCB"
23
24 #. type: TH
25 #: tcb.5:3
26 #, no-wrap
27 msgid "16 April 2004"
28 msgstr "16 апреля 2004 г."
29
30 #. type: TH
31 #: tcb.5:3
32 #, no-wrap
33 msgid "ALT Linux"
34 msgstr "ALT Linux"
35
36 #. type: SH
37 #: tcb.5:5
38 #, no-wrap
39 msgid "Name"
40 msgstr "Название"
41
42 #. type: Plain text
43 #: tcb.5:7
44 msgid "B<tcb> - альтернативная схема управления теневыми паролями"
45 msgstr "B<tcb> - альтернативная схема управления теневыми паролями"
46
47 #. type: SH
48 #: tcb.5:8
49 #, no-wrap
50 msgid "Problem"
51 msgstr "Задача"
52
53 #. type: Plain text
54 #: tcb.5:34
55 msgid ""
56 "According to the traditional shadow password management scheme, the password "
57 "hashes of all users, as well as information about their expiration dates, are "
58 "stored in a single file - I</etc/shadow>. Thus, a process that is granted "
59 "access to the password information of one of the system users automatically "
60 "receives sufficient rights to gain similar access to the password information "
61 "of all other users. This obvious design flaw can be easily seen in the "
62 "example of the B<passwd>(1) utility. Suppose that the security policy allows "
63 "unprivileged users to change their own passwords. Whatever the access rights "
64 "to the I</etc/shadow> file, the B<passwd>(1) program launched by "
65 "unprivileged users U must be able to make changes to this file. If an "
66 "attacker U finds a way to take control of the B<passwd>(1) process (using a "
67 "bug directly in the code of the B<passwd>(1) program, the libraries it uses, "
68 "or in the kernel), then this user will be able to change the passwords of all "
69 "users and thus take control of the operating system."
70 msgstr ""
71 "Согласно традиционной схеме управления теневыми паролями, хеши паролей всех "
72 "пользователей, а также информация о сроке их действия хранится в едином файле "
73 "- I</etc/shadow>. Таким образом, процесс, которому предоставляется доступ к "
74 "информации о пароле одного из пользователей системы, автоматически получает "
75 "права, достаточные для получения аналогичного доступа к информации о паролях "
76 "всех остальных пользователей. Этот явный изъян в дизайне легко проследить на "
77 "примере утилиты B<passwd>(1). Предположим, что политика безопасности "
78 "позволяет непривилегированным пользователям изменять собственные пароли. "
79 "Какими бы ни были права доступа к файлу I</etc/shadow>, программа "
80 "B<passwd>(1), запущенная непривилегированным пользователям U, должна иметь "
81 "возможность вносить изменения в этот файл. Если злоумышленник U найдёт "
82 "способ взять под свой контроль процесс B<passwd>(1) (с помощью ошибки "
83 "непосредственно в коде программы B<passwd>(1), используемых ею библиотеках, "
84 "или в ядре), то этот пользователь получит возможность менять пароли всех "
85 "пользователей и таким образом возьмёт под свой контроль операционную систему."
86
87 #. type: SH
88 #: tcb.5:35
89 #, no-wrap
90 msgid "Solution"
91 msgstr "Решение"
92
93 #. type: Plain text
94 #: tcb.5:41
95 msgid ""
96 "The solution to the problem is simple - each user has a separate shadow file. "
97 "Since the shadow file of user U belongs to this user U, the program "
98 "B<passwd>(1) launched by U no longer requires root rights."
99 msgstr ""
100 "Решение проблемы простое - каждому пользователю соответствует отдельный "
101 "теневой shadow-файл. Поскольку теневой файл пользователя U принадлежит этому "
102 "пользователю U, то программа B<passwd>(1), запущенная U, уже не требует "
103 "рутовых прав."
104
105 #. type: Plain text
106 #: tcb.5:54
107 msgid "All user shadow files are located in the I</etc/tcb> directory:"
108 msgstr "Все теневые файлы пользователей располагаются в каталоге I</etc/tcb>:"
109
110 #. type: Plain text
111 #: tcb.5:56
112 msgid "drwx--x--- 2 root shadow 1024 May 4 01:18 /etc/tcb"
113 msgstr "drwx--x--- 2 root shadow 1024 Май 4 01:18 /etc/tcb"
114
115 #. type: Plain text
116 #: tcb.5:60
117 msgid ""
118 "For each user, a subdirectory is created in I</etc/tcb> with the appropriate "
119 "access rights:"
120 msgstr ""
121 "Для каждого пользователя создаётся подкаталог в I</etc/tcb> с "
122 "соответствующими правами доступа:"
123
124 #. type: Plain text
125 #: tcb.5:65
126 msgid ""
127 "# ls -l /etc/tcb total 2 drwx--s--- 2 root auth 1024 May 4 01:18 root drwx--"
128 "s--- 2 user auth 1024 May 4 01:18 user"
129 msgstr ""
130 "# ls -l /etc/tcb всего 2 drwx--s--- 2 root auth 1024 Май 4 01:18 root drwx--"
131 "s--- 2 user auth 1024 Май 4 01:18 user"
132
133 #. type: Plain text
134 #: tcb.5:69
135 msgid ""
136 "etc. Each such subdirectory contains a shadow file containing information "
137 "about the password of the corresponding user:"
138 msgstr ""
139 "и т.д. Каждый такой подкаталог содержит теневой файл, содержащий информацию "
140 "о пароле соответствующего пользователя:"
141
142 #. type: Plain text
143 #: tcb.5:73
144 msgid ""
145 "# ls -l /etc/tcb/user total 1 -rw-r----- 1 user auth 91 May 4 01:18 shadow"
146 msgstr ""
147 "# ls -l /etc/tcb/user всего 1 -rw-r----- 1 user auth 91 Май 4 01:18 shadow"
148
149 #. type: Plain text
150 #: tcb.5:77
151 msgid ""
152 "These personal directories are used to store temporary files and lock files "
153 "created when changing a password or changing other information stored in the "
154 "shadow file."
155 msgstr ""
156 "Эти персональные каталоги используются для хранения временных файлов и "
157 "блокировочных файлов, создаваемых во время смены пароля либо изменения другой "
158 "информации, хранящейся в теневом файле."
159
160 #. type: SH
161 #: tcb.5:78
162 #, no-wrap
163 msgid "Advantages"
164 msgstr "Преимущества"
165
166 #. type: Plain text
167 #: tcb.5:80
168 msgid "The design described above has the following advantages:"
169 msgstr "Описанный выше дизайн обладает следующими преимуществами:"
170
171 #. type: TP
172 #: tcb.5:80 tcb.5:120
173 #, no-wrap
174 msgid "1."
175 msgstr "1."
176
177 #. type: Plain text
178 #: tcb.5:97
179 msgid ""
180 "The B<passwd>(1) utility must be installed with SGID-shadow privileges, not "
181 "SUID-root. The B<chage>(1) utility and the I</usr/lib/chkpwd/tcb_chkpwd> "
182 "helper program must also be installed with SGID-shadow privileges; this means "
183 "that, under the B<tcb> scheme, running processes will have privileges "
184 "sufficient to modify only the user's shadow record. Thus, the only damage an "
185 "attacker can do if they discover a bug in the implementation of these "
186 "programs is limited to modifying their own shadow file."
187 msgstr ""
188 "Утилита B<passwd>(1) должна быть установлена с правами SGID-shadow, а не "
189 "SUID-root. Утилита B<chage>(1) и вспомогательная программа I</usr/lib/"
190 "chkpwd/tcb_chkpwd> также должны быть установлены с правами SGID-shadow; это "
191 "значит, что в соответствии со схемой B<tcb> запущенные процессы будут "
192 "обладать правами, достаточными для изменения только пользовательской теневой "
193 "записи. Таким образом, весь вред, который может причинить злоумышленник в "
194 "случае обнаружения ошибки в реализации этих программ, ограничен возможностью "
195 "изменения своего собственного теневого файла."
196
197 #. type: TP
198 #: tcb.5:97 tcb.5:124
199 #, no-wrap
200 msgid "2."
201 msgstr "2."
202
203 #. type: Plain text
204 #: tcb.5:101
205 msgid ""
206 "If a process needs read access to all shadow files at once, it is sufficient "
207 "to additionally include it in the \"shadow\" and \"auth\" groups."
208 msgstr ""
209 "Если процессу необходим доступ по чтению ко всем теневым файлам сразу, "
210 "достаточно дополнительно включить его в группы \"shadow\" и \"auth\"."
211
212 #. type: TP
213 #: tcb.5:101 tcb.5:129
214 #, no-wrap
215 msgid "3."
216 msgstr "3."
217
218 #. type: Plain text
219 #: tcb.5:111
220 msgid ""
221 "The B<tcb> scheme is completely transparent to applications that need to read "
222 "password information. The shared library libnss_tcb implements an interface "
223 "to the B<getspnam>(3) function and other functions for working with shadow "
224 "records. Password changing is provided by the B<pam_tcb>(8) PAM module."
225 msgstr ""
226 "Схема B<tcb> полностью прозрачна для приложений, которым требуется читать "
227 "информацию о паролях. Разделяемая библиотека libnss_tcb реализует интерфейс "
228 "к функции B<getspnam>(3) и другим функциям работы с теневыми записями. "
229 "Смена паролей обеспечивается PAM-модулем B<pam_tcb>(8)."
230
231 #. type: Plain text
232 #: tcb.5:117
233 msgid ""
234 "Information on implementing the B<tcb> scheme can be found in "
235 "B<tcb_convert>(8), which explains how to do this most painlessly."
236 msgstr ""
237 "Информацию о введении в действие схемы B<tcb> можно прочесть в "
238 "B<tcb_convert>(8), где рассказано, как это сделать наиболее безболезненно."
239
240 #. type: SH
241 #: tcb.5:118
242 #, no-wrap
243 msgid "Flaws"
244 msgstr "Недостатки"
245
246 #. type: Plain text
247 #: tcb.5:120
248 msgid ""
249 "To be honest, there are only a few of them, and they are extremely minor:"
250 msgstr "Честно говоря, их всего несколько, и они крайне незначительные:"
251
252 #. type: Plain text
253 #: tcb.5:124
254 msgid ""
255 "Unable to acquire a lock on the entire shadow database (see "
256 "B<tcb_unconvert>(8))."
257 msgstr ""
258 "Невозможно установить блокировку всей теневой базы данных (см. "
259 "B<tcb_unconvert>(8))."
260
261 #. type: Plain text
262 #: tcb.5:129
263 msgid ""
264 "A process that has read access to all shadow files as described above "
265 "automatically has write access to its own shadow file."
266 msgstr ""
267 "Процесс, обладающий доступом по чтению ко всем теневым файлам, как это "
268 "описано выше, автоматически обладает доступом по изменению своего "
269 "собственного теневого файла."
270
271 #. type: Plain text
272 #: tcb.5:134
273 msgid ""
274 "It is not possible to grant a process read-only access to one specific shadow "
275 "file except by running that process with the rights of the appropriate user."
276 msgstr ""
277 "Невозможно предоставить процессу права доступа только по чтению к одному "
278 "конкретному теневому файлу иначе как исполняя этот процесс с правами "
279 "соответствующего пользователя."
280
281 #. type: TP
282 #: tcb.5:134
283 #, no-wrap
284 msgid "4."
285 msgstr "4."
286
287 #. type: Plain text
288 #: tcb.5:138
289 msgid "User access controls require significant work to support the tcb scheme."
290 msgstr ""
291 "Средства управления доступом пользователей требуют значительной доработки для "
292 "обеспечения поддержки схемы tcb."
293
294 #. type: SH
295 #: tcb.5:139
296 #, no-wrap
297 msgid "Bypassing file system limitations"
298 msgstr "Обход ограничений, накладываемых файловыми системами"
299
300 #. type: Plain text
301 #: tcb.5:148
302 msgid ""
303 "Some file systems limit the number of hard links that files can have. For "
304 "example, on the ext2 file system, no file can contain more than 32,000 hard "
305 "links. This means that the I</etc/tcb> directory on such a file system can "
306 "contain no more than 31,998 subdirectories. When using the file allocation "
307 "scheme described above, this file system limitation automatically results in "
308 "the maximum number of users being limited to the same number of 31,988."
309 msgstr ""
310 "Некоторые файловые системы ограничивают возможное число жёстких ссылок для "
311 "файлов. Например, в файловой системе ext2 никакой файл не может содержать "
312 "более 32000 жёстких ссылок. Это значит, что каталог I</etc/tcb>, размещённый "
313 "на такой файловой системе, может содержать не более 31998 подкаталогов. При "
314 "использовании схемы размещения файлов, описанной выше, это ограничение "
315 "файловой системы автоматически приводит к ограничению максимального числа "
316 "пользователей тем же числом 31988."
317
318 #. type: Plain text
319 #: tcb.5:157
320 msgid ""
321 "Solution: the directory with the shadow file for user U can be placed not "
322 "only in the I</etc/tcb> directory, but also in the I</etc/tcb/:some/path> "
323 "directory. In case of using the second option, a symbolic link I</etc/tcb/U> "
324 "-E<gt> I</etc/tcb/:some/path/U> must be created."
325 msgstr ""
326 "Решение: каталог с теневым файлом для пользователя U может быть помещён не "
327 "только в каталог I</etc/tcb>, но и в каталог I</etc/tcb/:some/path>. В "
328 "случае использования второго варианта должна быть создана символическая "
329 "ссылка I</etc/tcb/U> -E<gt> I</etc/tcb/:some/path/U>."
330
331 #. type: Plain text
332 #: tcb.5:163
333 msgid ""
334 "In the tcb implementation since version 0.9.8, directories with names "
335 "matching the pattern I</etc/tcb/:*> are not considered as directories with "
336 "shadow files. These names are reserved for symbolic links to directories with "
337 "shadow files."
338 msgstr ""
339 "В реализации tcb, начиная с версии 0.9.8, каталоги с именами, "
340 "удовлетворяющими шаблону I</etc/tcb/:*>, не рассматриваются как каталоги с "
341 "теневыми файлами. Эти имена зарезервированы для символических ссылок на "
342 "каталоги с теневыми файлами."
343
344 #. type: Plain text
345 #: tcb.5:176
346 msgid ""
347 "By default, user access controls that work directly with directories "
348 "containing shadow files create these directories directly in I</etc/tcb>; in "
349 "a situation where the number of users in B<tcb> may exceed the file system "
350 "limit, the system administrator can switch to the second option for placing "
351 "directories with shadow files by changing the I<TCB_SYMLINKS> parameter in "
352 "the B<login.defs>(5) configuration file."
353 msgstr ""
354 "По умолчанию, средства управления доступом пользователей, работающие "
355 "непосредственно с каталогами, содержащими теневые файлы, создают эти каталоги "
356 "непосредственно в I</etc/tcb>; в ситуации, когда число пользователей в B<tcb> "
357 "может превысить ограничение файловой системы, администратор системы может "
358 "перейти на второй вариант размещения каталогов с теневыми файлами, изменив "
359 "параметр I<TCB_SYMLINKS> в конфигурационном файле B<login.defs>(5)."
360
361 #. type: SH
362 #: tcb.5:177
363 #, no-wrap
364 msgid "Historical background"
365 msgstr "Историческая справка"
366
367 #. type: Plain text
368 #: tcb.5:182
369 msgid ""
370 "The first public version of the implementation of the alternative shadow "
371 "password management scheme B<tcb> appeared on November 12, 2001 in the "
372 "Openwall GNU/*/Linux OS."
373 msgstr ""
374 "Первая публичная версия реализации альтернативной схемы управления теневыми "
375 "паролями B<tcb> появилась 12 ноября 2001 года в ОС Openwall GNU/*/Linux."
376
377 #. type: Plain text
378 #: tcb.5:186
379 msgid ""
380 "The date of B<tcb>'s appearance in ALT Linux Sisyphus is December 20, 2001."
381 msgstr "Дата появления B<tcb> в ALT Linux Sisyphus - 20 декабря 2001 года."
382
383 #. type: SH
384 #: tcb.5:187
385 #, no-wrap
386 msgid "Authors"
387 msgstr "Авторы"
388
389 #. type: TP
390 #: tcb.5:188
391 #, no-wrap
392 msgid "Rafal Wojtczuk E<lt>[email protected]<gt>, Solar Designer E<lt>[email protected]<gt> -"
393 msgstr "Rafal Wojtczuk E<lt>[email protected]<gt>, Solar Designer E<lt>[email protected]<gt> -"
394
395 #. type: Plain text
396 #: tcb.5:193
397 msgid "implementation of the B<tcb> scheme for Openwall GNU/*/Linux OS."
398 msgstr "реализация схемы B<tcb> для ОС Openwall GNU/*/Linux."
399
400 #. type: TP
401 #: tcb.5:193
402 #, no-wrap
403 msgid "Dmitry V. Levin E<lt>[email protected]<gt> -"
404 msgstr "Dmitry V. Levin E<lt>[email protected]<gt> -"
405
406 #. type: Plain text
407 #: tcb.5:200
408 msgid ""
409 "code audit, adaptation of the B<tcb> scheme for ALT Linux OS, translation of "
410 "B<tcb> documentation into Russian."
411 msgstr ""
412 "аудит кода, адаптация схемы B<tcb> для ОС ALT Linux, перевод документации по "
413 "B<tcb> на русский язык."
414
415 #. type: TP
416 #: tcb.5:200
417 #, no-wrap
418 msgid "Implementation of PAM module"
419 msgstr "Реализация PAM-модуля"
420
421 #. type: Plain text
422 #: tcb.5:215
423 msgid ""
424 "B<pam_tcb> is intended to provide backward compatibility with B<pam_unix>, so "
425 "some decisions were borrowed from B<pam_unix>. Some less critical code "
426 "fragments, as well as some code composition, are taken from the Linux-PAM "
427 "implementation of the B<pam_unix> module. The names of the B<pam_unix> co-"
428 "authors are listed in the orig_copyright/ directory of the B<tcb> scheme "
429 "source code."
430 msgstr ""
431 "B<pam_tcb> призвана обеспечивать обратную совместимость с B<pam_unix>, ввиду "
432 "чего некоторые решения были заимствованы из B<pam_unix>. Некоторые менее "
433 "критичные фрагменты кода, а также в некоторой мере композиция кода взяты из "
434 "реализации модуля B<pam_unix> в Linux-PAM. Имена соавторов B<pam_unix> "
435 "приведены в каталоге orig_copyright/ исходного кода схемы B<tcb>."
436
437 #. type: SH
438 #: tcb.5:216
439 #, no-wrap
440 msgid "Links"
441 msgstr "Ссылки"
442
443 #. type: Plain text
444 #: tcb.5:219
445 msgid "B<login.defs>(5), B<pam_tcb>(8), B<tcb_convert>(8)"
446 msgstr "B<login.defs>(5), B<pam_tcb>(8), B<tcb_convert>(8)"