Debian Codegraph @

po/ru/man2/setuid.2.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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "setuid"
33 msgstr "setuid"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "setuid - set user identity"
60 msgstr "setuid - устанавливает идентификатор пользователя"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>unistd.hE<gt>>\n"
87 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "B<int setuid(uid_t >I<uid>B<);>\n"
94 msgstr "B<int setuid(uid_t >I<uid>B<);>\n"
95
96 #. type: SH
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "DESCRIPTION"
101 msgstr "ОПИСАНИЕ"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "B<setuid>() sets the effective user ID of the calling process. If the "
108 "calling process is privileged (more precisely: if the process has the "
109 "B<CAP_SETUID> capability in its user namespace), the real UID and saved set-"
110 "user-ID are also set."
111 msgstr ""
112 "Вызов B<setuid>() устанавливает эффективный идентификатор пользователя "
113 "вызвавшего процесса. Если вызывающий процесс имеет права (мандат "
114 "B<CAP_SETUID> в своём пространстве имён пользователя), то также "
115 "устанавливаются действительный и сохраненный идентификаторы пользователя."
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "Under Linux, B<setuid>() is implemented like the POSIX version with the "
122 "B<_POSIX_SAVED_IDS> feature. This allows a set-user-ID (other than root) "
123 "program to drop all of its user privileges, do some un-privileged work, and "
124 "then reengage the original effective user ID in a secure manner."
125 msgstr ""
126 "В Linux B<setuid>() реализован как и в стандарте POSIX с возможностью "
127 "B<_POSIX_SAVED_IDS>. Это позволяет setuid-программам (не setuid-root) "
128 "сбрасывать все привилегии, делать непривилегированную работу, а затем "
129 "безопасным путём возвращать себе исходный эффективный идентификатор "
130 "пользователя."
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "If the user is root or the program is set-user-ID-root, special care must be "
137 "taken: B<setuid>() checks the effective user ID of the caller and if it is "
138 "the superuser, all process-related user ID's are set to I<uid>. After this "
139 "has occurred, it is impossible for the program to regain root privileges."
140 msgstr ""
141 "Если пользователь root или программа установлена как setuid root, при работе "
142 "требуется особая осторожность: функция B<setuid>() проверяет эффективный "
143 "идентификатор вызвавшего пользователя и, если это суперпользователь, то все "
144 "устанавливаемые значения идентификаторов равны I<uid>. После этого программа "
145 "уже никаким образом не сможет вернуть права пользователя root."
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "Thus, a set-user-ID-root program wishing to temporarily drop root "
152 "privileges, assume the identity of an unprivileged user, and then regain "
153 "root privileges afterward cannot use B<setuid>(). You can accomplish this "
154 "with B<seteuid>(2)."
155 msgstr ""
156 "Таким образом, программа, принадлежащая root и с установленным битом setuid, "
157 "собирающаяся временно сбросить права root и поработать с правами "
158 "непривилегированного пользователя, а затем восстановить права root, не "
159 "сможет использовать B<setuid>(). Требуемого результата можно достичь с "
160 "помощью вызова B<seteuid>(2)."
161
162 #. type: SH
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid "RETURN VALUE"
167 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
174 "to indicate the error."
175 msgstr ""
176 "При успешном выполнении возвращается 0. При ошибке возвращается -1, а в "
177 "I<errno> содержится код ошибки."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "I<Note>: there are cases where B<setuid>() can fail even when the caller is "
184 "UID 0; it is a grave security error to omit checking for a failure return "
185 "from B<setuid>()."
186 msgstr ""
187 "I<Замечание>: есть случаи, когда B<setuid>() может завершиться с ошибкой "
188 "даже когда UID вызывающего равен 0; это серьёзная ошибка безопасности — не "
189 "проверять возвращаемое значение B<setuid>()."
190
191 #. type: SH
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "ERRORS"
196 msgstr "ОШИБКИ"
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<EAGAIN>"
203 msgstr "B<EAGAIN>"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid ""
209 "The call would change the caller's real UID (i.e., I<uid> does not match the "
210 "caller's real UID), but there was a temporary failure allocating the "
211 "necessary kernel data structures."
212 msgstr ""
213 "Вызов изменил бы настоящего реальный UID вызывающего (т. е. I<uid> не "
214 "совпадает с реальным UID вызывающего), но возникла временная ошибка при "
215 "выделении памяти под необходимые структуры ядра."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "I<uid> does not match the real user ID of the caller and this call would "
222 "bring the number of processes belonging to the real user ID I<uid> over the "
223 "caller's B<RLIMIT_NPROC> resource limit. Since Linux 3.1, this error case "
224 "no longer occurs (but robust applications should check for this error); see "
225 "the description of B<EAGAIN> in B<execve>(2)."
226 msgstr ""
227 "Значение I<uid> не совпадает с реальным UID вызывающего и этот вызов создал "
228 "был превышение количества процессов, принадлежащих пользователю с реальным "
229 "ID I<ruid> сверх ограничителя ресурсы B<RLIMIT_NPROC> вызывающего. Начиная с "
230 "Linux 3.1 эта ошибка больше не возникает (но корректное приложение должно "
231 "проверять эту ошибку); смотрите описание B<EAGAIN> в B<execve>(2)."
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<EINVAL>"
238 msgstr "B<EINVAL>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "The user ID specified in I<uid> is not valid in this user namespace."
244 msgstr ""
245 "Идентификатор пользователя, заданный в I<uid>, некорректен в этом "
246 "пользовательском пространстве имён."
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<EPERM>"
253 msgstr "B<EPERM>"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "The user is not privileged (Linux: does not have the B<CAP_SETUID> "
260 "capability in its user namespace) and I<uid> does not match the real UID or "
261 "saved set-user-ID of the calling process."
262 msgstr ""
263 "Пользователь не является суперпользователем (Linux: нет мандата "
264 "B<CAP_SETUID> в пользовательском пространстве имён), а I<uid> не совпадает с "
265 "действительным или сохранённым идентификатором пользователя вызывающего "
266 "процесса."
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "VERSIONS"
273 msgstr "ВЕРСИИ"
274
275 #. type: SS
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "C library/kernel differences"
280 msgstr "Отличия между библиотекой C и ядром"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
287 "However, POSIX requires that all threads in a process share the same "
288 "credentials. The NPTL threading implementation handles the POSIX "
289 "requirements by providing wrapper functions for the various system calls "
290 "that change process UIDs and GIDs. These wrapper functions (including the "
291 "one for B<setuid>()) employ a signal-based technique to ensure that when "
292 "one thread changes credentials, all of the other threads in the process also "
293 "change their credentials. For details, see B<nptl>(7)."
294 msgstr ""
295 "На уровне ядра ID пользователя и группы являются атрибутами нити. Однако в "
296 "POSIX требуется, чтобы все нити в процессе имели одинаковые права. В "
297 "реализации нитей NPTL требования POSIX реализованы через обёрточные функции "
298 "для различных системных вызовов, которые изменяют UID и GID процесса. В этих "
299 "функциях (включая и B<setuid>()) используется алгоритмы на основе сигналов, "
300 "которые следят за тем, что когда у одной нити изменяются права, эти "
301 "изменения выполняются и для остальных нитей процесса. Подробное описание "
302 "смотрите в B<nptl>(7)."
303
304 #. type: SH
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "STANDARDS"
309 msgstr "СТАНДАРТЫ"
310
311 #. type: Plain text
312 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
313 #: opensuse-tumbleweed
314 msgid "POSIX.1-2024."
315 msgstr "POSIX.1-2024."
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "HISTORY"
322 msgstr "ИСТОРИЯ"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "POSIX.1-2001, SVr4."
328 msgstr "POSIX.1-2001, SVr4."
329
330 #. SVr4 documents an additional EINVAL error condition.
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "Not quite compatible with the 4.4BSD call, which sets all of the real, "
336 "saved, and effective user IDs."
337 msgstr ""
338 "Не совсем совместимо с вызовом 4.4BSD, который устанавливает все реальные, "
339 "сохраненные и эффективные идентификаторы пользователей."
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "The original Linux B<setuid>() system call supported only 16-bit user IDs. "
346 "Subsequently, Linux 2.4 added B<setuid32>() supporting 32-bit IDs. The "
347 "glibc B<setuid>() wrapper function transparently deals with the variation "
348 "across kernel versions."
349 msgstr ""
350 "Первоначальная версия системного вызова B<setuid>() в Linux поддерживала "
351 "только 16-битные идентификаторы пользователя. Позднее в Linux 2.4 был "
352 "добавлен вызов B<setuid32>(), поддерживающий 32-битные идентификаторы. В "
353 "glibc обёрточная функция B<setuid>() работает одинаково вне зависимости от "
354 "версий ядра."
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "NOTES"
361 msgstr "ПРИМЕЧАНИЯ"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Linux has the concept of the filesystem user ID, normally equal to the "
368 "effective user ID. The B<setuid>() call also sets the filesystem user ID "
369 "of the calling process. See B<setfsuid>(2)."
370 msgstr ""
371 "Linux поддерживает идентификатор пользователя файловой системы, обычно "
372 "совпадающий с эффективным идентификатором. Системный вызов B<setuid>() также "
373 "устанавливает идентификатор пользователя файловой системы вызывающего "
374 "процесса. См. B<setfsuid>(2)."
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "If I<uid> is different from the old effective UID, the process will be "
381 "forbidden from leaving core dumps."
382 msgstr ""
383 "Если I<uid> отличается от старого эффективного идентификатора, то процессу "
384 "нельзя будет создавать core-файлы."
385
386 #. type: SH
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "SEE ALSO"
391 msgstr "СМОТРИТЕ ТАКЖЕ"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "B<getuid>(2), B<seteuid>(2), B<setfsuid>(2), B<setreuid>(2), "
398 "B<capabilities>(7), B<credentials>(7), B<user_namespaces>(7)"
399 msgstr ""
400 "B<getuid>(2), B<seteuid>(2), B<setfsuid>(2), B<setreuid>(2), "
401 "B<capabilities>(7), B<credentials>(7), B<user_namespaces>(7)"
402
403 #. type: TH
404 #: debian-trixie
405 #, no-wrap
406 msgid "2024-05-02"
407 msgstr "2 мая 2024 г."
408
409 #. type: TH
410 #: debian-trixie
411 #, no-wrap
412 msgid "Linux man-pages 6.9.1"
413 msgstr "Страницы руководства Linux 6.9.1"
414
415 #. type: Plain text
416 #: debian-trixie
417 msgid "Standard C library (I<libc>, I<-lc>)"
418 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
419
420 #. type: Plain text
421 #: debian-trixie fedora-44 fedora-rawhide
422 msgid "POSIX.1-2008."
423 msgstr "POSIX.1-2008."
424
425 #. type: TH
426 #: fedora-44 fedora-rawhide
427 #, no-wrap
428 msgid "2024-07-23"
429 msgstr "23 июля 2024 г."
430
431 #. type: TH
432 #: fedora-44 fedora-rawhide
433 #, no-wrap
434 msgid "Linux man-pages 6.13"
435 msgstr "Страницы руководства Linux 6.13"
436
437 #. type: TH
438 #: mageia-cauldron
439 #, no-wrap
440 msgid "Linux man-pages 6.17"
441 msgstr "Страницы руководства Linux 6.17"
442
443 #. type: TH
444 #: opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "Linux man-pages (unreleased)"
447 msgstr "Страницы руководства Linux (не выпущены)"