Debian Codegraph @

po/ru/man3/getspnam.3.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 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Vladislav <[email protected]>, 2015.
7 # Yuri Kozlov <[email protected]>, 2011-2019.
8 # Иван Павлов <[email protected]>, 2017, 2019.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n\n"
12 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
13 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
14 "Last-Translator: Yuri Kozlov <[email protected]>\n"
15 "Language-Team: Russian <[email protected]>\n"
16 "Language: ru\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
21 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
22 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
23 "X-Generator: Lokalize 2.0\n"
24
25 #. type: TH
26 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
27 #: opensuse-leap-16-1 opensuse-tumbleweed
28 #, fuzzy, no-wrap
29 #| msgid "B<getspnam>()"
30 msgid "getspnam"
31 msgstr "B<getspnam>()"
32
33 #. type: TH
34 #: debian-trixie
35 #, no-wrap
36 msgid "2024-05-02"
37 msgstr "2 мая 2024 г."
38
39 #. type: TH
40 #: debian-trixie
41 #, no-wrap
42 msgid "Linux man-pages 6.9.1"
43 msgstr "Страницы руководства Linux 6.9.1"
44
45 #. type: SH
46 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
47 #: opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
54 #: opensuse-leap-16-1 opensuse-tumbleweed
55 msgid ""
56 "getspnam, getspnam_r, getspent, getspent_r, setspent, endspent, fgetspent, "
57 "fgetspent_r, sgetspent, sgetspent_r, putspent, lckpwdf, ulckpwdf - get "
58 "shadow password file entry"
59 msgstr ""
60 "getspnam, getspnam_r, getspent, getspent_r, setspent, endspent, fgetspent, "
61 "fgetspent_r, sgetspent, sgetspent_r, putspent, lckpwdf, ulckpwdf - получение "
62 "записи из теневого файла паролей"
63
64 #. type: SH
65 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "LIBRARY"
69 msgstr "БИБЛИОТЕКА"
70
71 #. type: Plain text
72 #: debian-trixie
73 msgid "Standard C library (I<libc>, I<-lc>)"
74 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
75
76 #. type: SH
77 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
78 #: opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "SYNOPSIS"
81 msgstr "СИНТАКСИС"
82
83 #. type: Plain text
84 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
85 #: opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "/* General shadow password file API */\n"
89 "B<#include E<lt>shadow.hE<gt>>\n"
90 msgstr ""
91 "/* Основной API теневого файла паролей */\n"
92 "B<#include E<lt>shadow.hE<gt>>\n"
93
94 #. type: Plain text
95 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
96 #: opensuse-leap-16-1 opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid "B<struct spwd *getspnam(const char *>I<name>B<);>\n"
99 msgid ""
100 "B<struct spwd *getspnam(const char *>I<name>B<);>\n"
101 "B<struct spwd *getspent(void);>\n"
102 msgstr "B<struct spwd *getspnam(const char *>I<name>B<);>\n"
103
104 #. type: Plain text
105 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
106 #: opensuse-leap-16-1 opensuse-tumbleweed
107 #, fuzzy, no-wrap
108 #| msgid "B<void setspent(void);>\n"
109 msgid ""
110 "B<void setspent(void);>\n"
111 "B<void endspent(void);>\n"
112 msgstr "B<void setspent(void);>\n"
113
114 #. type: Plain text
115 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
116 #: opensuse-leap-16-1 opensuse-tumbleweed
117 #, fuzzy, no-wrap
118 #| msgid "B<struct spwd *sgetspent(const char *>I<s>B<);>\n"
119 msgid ""
120 "B<struct spwd *fgetspent(FILE *>I<stream>B<);>\n"
121 "B<struct spwd *sgetspent(const char *>I<s>B<);>\n"
122 msgstr "B<struct spwd *sgetspent(const char *>I<s>B<);>\n"
123
124 #. type: Plain text
125 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
126 #: opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "B<int putspent(const struct spwd *>I<p>B<, FILE *>I<stream>B<);>\n"
129 msgstr "B<int putspent(const struct spwd *>I<p>B<, FILE *>I<stream>B<);>\n"
130
131 #. type: Plain text
132 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
133 #: opensuse-leap-16-1 opensuse-tumbleweed
134 #, fuzzy, no-wrap
135 #| msgid "B<int ulckpwdf(void);>\n"
136 msgid ""
137 "B<int lckpwdf(void);>\n"
138 "B<int ulckpwdf(void);>\n"
139 msgstr "B<int ulckpwdf(void);>\n"
140
141 #. type: Plain text
142 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
143 #: opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid ""
146 "/* GNU extension */\n"
147 "B<#include E<lt>shadow.hE<gt>>\n"
148 msgstr ""
149 "/* Расширение GNU */\n"
150 "B<#include E<lt>shadow.hE<gt>>\n"
151
152 #. type: Plain text
153 #: debian-trixie
154 #, fuzzy, no-wrap
155 #| msgid ""
156 #| "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
157 #| "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
158 msgid ""
159 "B<int getspent_r(struct spwd *>I<spbuf>B<,>\n"
160 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
161 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
162 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
163 msgstr ""
164 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
165 "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
166
167 #. type: Plain text
168 #: debian-trixie
169 #, fuzzy, no-wrap
170 #| msgid ""
171 #| "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
172 #| "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
173 msgid ""
174 "B<int fgetspent_r(FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
175 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
176 "B<int sgetspent_r(const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
177 "B< char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
178 msgstr ""
179 "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
180 "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
181
182 #. type: Plain text
183 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
184 #: opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
187 msgstr ""
188 "Требования макроса тестирования свойств для glibc (см. "
189 "B<feature_test_macros>(7)):"
190
191 #. type: Plain text
192 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
193 #: opensuse-leap-16-1 opensuse-tumbleweed
194 #, fuzzy
195 #| msgid ""
196 #| "B<getnetent>(3), B<getprotoent>(3), B<getservent_r>(3), B<services>(5)"
197 msgid "B<getspent_r>(), B<getspnam_r>(), B<fgetspent_r>(), B<sgetspent_r>():"
198 msgstr "B<getnetent>(3), B<getprotoent>(3), B<getservent_r>(3), B<services>(5)"
199
200 #. type: Plain text
201 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
202 #: opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid ""
205 " Since glibc 2.19:\n"
206 " _DEFAULT_SOURCE\n"
207 " glibc 2.19 and earlier:\n"
208 " _BSD_SOURCE || _SVID_SOURCE\n"
209 msgstr ""
210 " начиная с glibc 2.19:\n"
211 " _DEFAULT_SOURCE\n"
212 " в glibc 2.19 и старее:\n"
213 " _BSD_SOURCE || _SVID_SOURCE\n"
214
215 #. type: SH
216 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
217 #: opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "DESCRIPTION"
220 msgstr "ОПИСАНИЕ"
221
222 #. type: Plain text
223 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
224 #: opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "Long ago it was considered safe to have encrypted passwords openly visible "
227 "in the password file. When computers got faster and people got more "
228 "security-conscious, this was no longer acceptable. Julianne Frances Haugh "
229 "implemented the shadow password suite that keeps the encrypted passwords in "
230 "the shadow password database (e.g., the local shadow password file I</etc/"
231 "shadow>, NIS, and LDAP), readable only by root."
232 msgstr ""
233 "В давние времена считалось, что хранить зашифрованные пароли в открытом "
234 "доступе достаточно безопасно. Со временем компьютеры стали быстрее, а люди - "
235 "более обеспокоенными проблемами безопасности, и данный подход стал "
236 "неприемлемым. Джулиан Франс Хог (Julianne Frances Haugh) реализовал набор "
237 "программ для теневых паролей, который хранит зашифрованные пароли в базе "
238 "данных теневых паролей (например в локальном файле теневых паролей I</etc/"
239 "shadow>, NIS или LDAP), доступной для чтения только root."
240
241 #. FIXME . I've commented out the following for the
242 #. moment. The relationship between PAM and nsswitch.conf needs
243 #. to be clearly documented in one place, which is pointed to by
244 #. the pages for the user, group, and shadow password functions.
245 #. (Jul 2005, mtk)
246 #. This shadow password setup has been superseded by PAM
247 #. (pluggable authentication modules), and the file
248 #. .I /etc/nsswitch.conf
249 #. now describes the sources to be used.
250 #. type: Plain text
251 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
252 #: opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "The functions described below resemble those for the traditional password "
255 "database (e.g., see B<getpwnam>(3) and B<getpwent>(3))."
256 msgstr ""
257 "Описанные ниже функции соответствуют аналогами для традиционной базы паролей "
258 "(см. B<getpwnam>(3) and B<getpwent>(3))."
259
260 #. type: Plain text
261 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
262 #: opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "The B<getspnam>() function returns a pointer to a structure containing the "
265 "broken-out fields of the record in the shadow password database that matches "
266 "the username I<name>."
267 msgstr ""
268 "Функция B<getspnam>() возвращает указатель на структуру, содержащую "
269 "разделённую на поля запись из базы данных теневых паролей, которая "
270 "соответствует имени пользователя I<name>."
271
272 #. some systems require a call of setspent() before the first getspent()
273 #. glibc does not
274 #. type: Plain text
275 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
276 #: opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "The B<getspent>() function returns a pointer to the next entry in the "
279 "shadow password database. The position in the input stream is initialized "
280 "by B<setspent>(). When done reading, the program may call B<endspent>() so "
281 "that resources can be deallocated."
282 msgstr ""
283 "Функция B<getspent>() возвращает указатель на следующую запись в базе данных "
284 "теневых паролей. Положение во входном потоке инициализируется с помощью "
285 "B<setspent>(). После выполнения чтения программа может вызвать B<endspent>() "
286 "для освобождения ресурсов."
287
288 #. type: Plain text
289 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
290 #: opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "The B<fgetspent>() function is similar to B<getspent>() but uses the "
293 "supplied stream instead of the one implicitly opened by B<setspent>()."
294 msgstr ""
295 "Функция B<fgetspent>() подобна B<getspent>() но использует заданный поток "
296 "вместо неявного открытия с помощью B<setspent>()."
297
298 #. type: Plain text
299 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
300 #: opensuse-leap-16-1 opensuse-tumbleweed
301 msgid ""
302 "The B<sgetspent>() function parses the supplied string I<s> into a struct "
303 "I<spwd>."
304 msgstr ""
305 "Функция B<sgetspent>() разбирает передаваемую строку I<s> в структуру "
306 "I<spwd>."
307
308 #. type: Plain text
309 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
310 #: opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "The B<putspent>() function writes the contents of the supplied struct "
313 "I<spwd> I<*p> as a text line in the shadow password file format to "
314 "I<stream>. String entries with value NULL and numerical entries with value "
315 "-1 are written as an empty string."
316 msgstr ""
317 "Функция B<putspent>() записывает в I<stream> содержимое передаваемой "
318 "структуры I<spwd> I<*p> в виде текстовой строки в формате файла теневых "
319 "паролей. Строковые записи со значением NULL и числовые записи со значением "
320 "-1 записываются как пустые строки."
321
322 #. type: Plain text
323 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
324 #: opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "The B<lckpwdf>() function is intended to protect against multiple "
327 "simultaneous accesses of the shadow password database. It tries to acquire "
328 "a lock, and returns 0 on success, or -1 on failure (lock not obtained within "
329 "15 seconds). The B<ulckpwdf>() function releases the lock again. Note "
330 "that there is no protection against direct access of the shadow password "
331 "file. Only programs that use B<lckpwdf>() will notice the lock."
332 msgstr ""
333 "Функция B<lckpwdf>() предназначена для защиты базы данных теневых паролей "
334 "при одновременном многочисленном доступе. Она пытается захватить блокировку "
335 "и возвращает 0 при успешном выполнении и -1 при ошибке (блокировка не "
336 "получена в течении 15 секунд). Функция B<ulckpwdf>() освобождает блокировку. "
337 "Заметим, что это не защищает при прямом доступе к файлу теневых паролей. О "
338 "блокировке будут уведомлены только программы, использующие B<lckpwdf>()."
339
340 #. Also in libc5
341 #. SUN doesn't have sgetspent()
342 #. type: Plain text
343 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
344 #: opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "These were the functions that formed the original shadow API. They are "
347 "widely available."
348 msgstr ""
349 "Эти функции возникли в исходном программном интерфейсе. Они широко "
350 "используются."
351
352 #. type: SS
353 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
354 #: opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "Reentrant versions"
357 msgstr "Реентерабельные версии"
358
359 #. type: Plain text
360 #: debian-trixie
361 msgid ""
362 "Analogous to the reentrant functions for the password database, glibc also "
363 "has reentrant functions for the shadow password database. The "
364 "B<getspnam_r>() function is like B<getspnam>() but stores the retrieved "
365 "shadow password structure in the space pointed to by I<spbuf>. This shadow "
366 "password structure contains pointers to strings, and these strings are "
367 "stored in the buffer I<buf> of size I<buflen>. A pointer to the result (in "
368 "case of success) or NULL (in case no entry was found or an error occurred) "
369 "is stored in I<*spbufp>."
370 msgstr ""
371 "По аналогии с реентерабельными функциями для базы данных паролей, в glibc "
372 "также есть реентерабельные функции для базы данных теневых паролей. Функция "
373 "B<getspnam_r>() подобна B<getspnam>(), но хранит выбранную структуру "
374 "теневого пароля в пространстве, на которое указывает I<spbuf>. Данная "
375 "структура теневого пароля содержит указатели на строки и эти строки хранятся "
376 "в буфере I<buf> размером I<buflen>. Указатель на результат (при успешном "
377 "выполнении) или NULL (в случае отсутствия записи или ошибки) сохраняется в "
378 "I<*spbufp>."
379
380 #. type: Plain text
381 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
382 #: opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "The functions B<getspent_r>(), B<fgetspent_r>(), and B<sgetspent_r>() are "
385 "similarly analogous to their nonreentrant counterparts."
386 msgstr ""
387 "Функции B<getspent_r>(), B<fgetspent_r>() и B<sgetspent_r>() подобны их "
388 "нереентерабельным аналогам."
389
390 #. SUN doesn't have sgetspent_r()
391 #. type: Plain text
392 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
393 #: opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "Some non-glibc systems also have functions with these names, often with "
396 "different prototypes."
397 msgstr ""
398 "Некоторые не-glibc системы также содержат функции с такими именами, но, чаще "
399 "всего, с другими прототипами."
400
401 #. type: SS
402 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
403 #: opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "Structure"
406 msgstr "Структура"
407
408 #. type: Plain text
409 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
410 #: opensuse-leap-16-1 opensuse-tumbleweed
411 msgid ""
412 "The shadow password structure is defined in I<E<lt>shadow.hE<gt>> as follows:"
413 msgstr "Структура теневого пароля определена в I<E<lt>shadow.hE<gt>>:"
414
415 #. type: Plain text
416 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
417 #: opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid ""
420 "struct spwd {\n"
421 " char *sp_namp; /* Login name */\n"
422 " char *sp_pwdp; /* Encrypted password */\n"
423 " long sp_lstchg; /* Date of last change\n"
424 " (measured in days since\n"
425 " 1970-01-01 00:00:00 +0000 (UTC)) */\n"
426 " long sp_min; /* Min # of days between changes */\n"
427 " long sp_max; /* Max # of days between changes */\n"
428 " long sp_warn; /* # of days before password expires\n"
429 " to warn user to change it */\n"
430 " long sp_inact; /* # of days after password expires\n"
431 " until account is disabled */\n"
432 " long sp_expire; /* Date when account expires\n"
433 " (measured in days since\n"
434 " 1970-01-01 00:00:00 +0000 (UTC)) */\n"
435 " unsigned long sp_flag; /* Reserved */\n"
436 "};\n"
437 msgstr ""
438 "struct spwd {\n"
439 " char *sp_namp; /* имя пользователя */\n"
440 " char *sp_pwdp; /* зашифрованный пароль */\n"
441 " long sp_lstchg; /* дата последнего изменения\n"
442 " в днях начиная с 1970-01-01 00:00:00 +0000 (UTC)) */\n"
443 " long sp_min; /* мин. кол-во дней между сменой */\n"
444 " long sp_max; /* макс. кол-во дней между сменой */\n"
445 " long sp_warn; /* кол-во дней до истечения срока действия пароля\n"
446 " для предупреждения пользователя */\n"
447 " long sp_inact; /* кол-во дней до истечения срока действия пароля,\n"
448 " после запись блокируется */\n"
449 " long sp_expire; /* дата устаревания учётной записи\n"
450 " в днях начиная с 1970-01-01 00:00:00 +0000 (UTC)) */\n"
451 " unsigned long sp_flag; /* зарезервировано */\n"
452 "};\n"
453
454 #. type: SH
455 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
456 #: opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "RETURN VALUE"
459 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
460
461 #. type: Plain text
462 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
463 #: opensuse-leap-16-1 opensuse-tumbleweed
464 #, fuzzy
465 #| msgid ""
466 #| "The functions that return a pointer return NULL if no more entries are "
467 #| "available or if an error occurs during processing. The functions which "
468 #| "have I<int> as the return value return 0 for success and -1 for failure, "
469 #| "with I<errno> set to indicate the cause of the error."
470 msgid ""
471 "The functions that return a pointer return NULL if no more entries are "
472 "available or if an error occurs during processing. The functions which have "
473 "I<int> as the return value return 0 for success and -1 for failure, with "
474 "I<errno> set to indicate the error."
475 msgstr ""
476 "Функции, которые возвращают указатель, возвращают NULL, если элементы "
477 "закончились или произошла ошибка во время обработки. Функции, которые "
478 "возвращают значение с типом I<int>, возвращают 0 при успешном выполнении и "
479 "-1 при ошибке, записывая в I<errno> причину ошибки."
480
481 #. type: Plain text
482 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
483 #: opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "For the nonreentrant functions, the return value may point to static area, "
486 "and may be overwritten by subsequent calls to these functions."
487 msgstr ""
488 "У нереентерабельных функций возвращаемое значение может указывать на "
489 "статическую область и может быть перезаписано последующими вызовами этих "
490 "функций."
491
492 #. type: Plain text
493 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
494 #: opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "The reentrant functions return zero on success. In case of error, an error "
497 "number is returned."
498 msgstr ""
499 "При успешном выполнении реентерабельные функции возвращают 0. В случае "
500 "ошибки возвращается номер ошибки."
501
502 #. type: SH
503 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
504 #: opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "ERRORS"
507 msgstr "ОШИБКИ"
508
509 #. type: TP
510 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
511 #: opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<EACCES>"
514 msgstr "B<EACCES>"
515
516 #. type: Plain text
517 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
518 #: opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "The caller does not have permission to access the shadow password file."
520 msgstr "Вызывающий не имеет прав доступа к файлу теневых паролей."
521
522 #. type: TP
523 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
524 #: opensuse-leap-16-1 opensuse-tumbleweed
525 #, no-wrap
526 msgid "B<ERANGE>"
527 msgstr "B<ERANGE>"
528
529 #. type: Plain text
530 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
531 #: opensuse-leap-16-1 opensuse-tumbleweed
532 msgid "Supplied buffer is too small."
533 msgstr "Указанный буфер слишком мал."
534
535 #. type: SH
536 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
537 #: opensuse-leap-16-1 opensuse-tumbleweed
538 #, no-wrap
539 msgid "FILES"
540 msgstr "ФАЙЛЫ"
541
542 #. type: TP
543 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
544 #: opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "I</etc/shadow>"
547 msgstr "I</etc/shadow>"
548
549 #. type: Plain text
550 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
551 #: opensuse-leap-16-1 opensuse-tumbleweed
552 msgid "local shadow password database file"
553 msgstr "файл, содержащий базу локальных теневых паролей"
554
555 #. type: TP
556 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
557 #: opensuse-leap-16-1 opensuse-tumbleweed
558 #, no-wrap
559 msgid "I</etc/.pwd.lock>"
560 msgstr "I</etc/.pwd.lock>"
561
562 #. type: Plain text
563 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
564 #: opensuse-leap-16-1 opensuse-tumbleweed
565 msgid "lock file"
566 msgstr "файл блокировки"
567
568 #. type: Plain text
569 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
570 #: opensuse-leap-16-1 opensuse-tumbleweed
571 msgid ""
572 "The include file I<E<lt>paths.hE<gt>> defines the constant B<_PATH_SHADOW> "
573 "to the pathname of the shadow password file."
574 msgstr ""
575 "При включении файла I<E<lt>paths.hE<gt>> определяется константа "
576 "B<_PATH_SHADOW>, в которой хранится путь к файлу теневых паролей."
577
578 #. type: SH
579 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
580 #: opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "ATTRIBUTES"
583 msgstr "АТРИБУТЫ"
584
585 #. type: Plain text
586 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
587 #: opensuse-leap-16-1 opensuse-tumbleweed
588 msgid ""
589 "For an explanation of the terms used in this section, see B<attributes>(7)."
590 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
591
592 #. type: tbl table
593 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
594 #: opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "Interface"
597 msgstr "Интерфейс"
598
599 #. type: tbl table
600 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
601 #: opensuse-leap-16-1 opensuse-tumbleweed
602 #, no-wrap
603 msgid "Attribute"
604 msgstr "Атрибут"
605
606 #. type: tbl table
607 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
608 #: opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "Value"
611 msgstr "Значение"
612
613 #. type: tbl table
614 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
615 #: opensuse-leap-16-1 opensuse-tumbleweed
616 #, no-wrap
617 msgid ".na\n"
618 msgstr ".na\n"
619
620 #. type: tbl table
621 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
622 #: opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid ".nh\n"
625 msgstr ".nh\n"
626
627 #. type: tbl table
628 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
629 #: opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<getspnam>()"
632 msgstr "B<getspnam>()"
633
634 #. type: tbl table
635 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
636 #: opensuse-leap-16-1 opensuse-tumbleweed
637 #, no-wrap
638 msgid "Thread safety"
639 msgstr "Безвредность в нитях"
640
641 #. type: tbl table
642 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
643 #: opensuse-leap-16-1 opensuse-tumbleweed
644 #, no-wrap
645 msgid "MT-Unsafe race:getspnam locale"
646 msgstr "MT-Unsafe race:getspnam locale"
647
648 #. type: tbl table
649 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
650 #: opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<getspent>()"
653 msgstr "B<getspent>()"
654
655 #. type: tbl table
656 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
657 #: opensuse-leap-16-1 opensuse-tumbleweed
658 #, fuzzy, no-wrap
659 #| msgid "MT-Unsafe race:getspent locale"
660 msgid ""
661 "MT-Unsafe race:getspent\n"
662 "race:spentbuf locale"
663 msgstr "MT-Unsafe race:getspent locale"
664
665 #. type: tbl table
666 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
667 #: opensuse-leap-16-1 opensuse-tumbleweed
668 #, fuzzy, no-wrap
669 #| msgid ""
670 #| "B<setmntent>(),\n"
671 #| "B<endmntent>(),\n"
672 #| "B<hasmntopt>()"
673 msgid ""
674 "B<setspent>(),\n"
675 "B<endspent>(),\n"
676 "B<getspent_r>()"
677 msgstr ""
678 "B<setmntent>(),\n"
679 "B<endmntent>(),\n"
680 "B<hasmntopt>()"
681
682 #. type: tbl table
683 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
684 #: opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid "MT-Unsafe race:getspent locale"
687 msgstr "MT-Unsafe race:getspent locale"
688
689 #. type: tbl table
690 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
691 #: opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "B<fgetspent>()"
694 msgstr "B<fgetspent>()"
695
696 #. type: tbl table
697 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
698 #: opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "MT-Unsafe race:fgetspent"
701 msgstr "MT-Unsafe race:fgetspent"
702
703 #. type: tbl table
704 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
705 #: opensuse-leap-16-1 opensuse-tumbleweed
706 #, no-wrap
707 msgid "B<sgetspent>()"
708 msgstr "B<sgetspent>()"
709
710 #. type: tbl table
711 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
712 #: opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "MT-Unsafe race:sgetspent"
715 msgstr "MT-Unsafe race:sgetspent"
716
717 #. type: tbl table
718 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
719 #: opensuse-leap-16-1 opensuse-tumbleweed
720 #, fuzzy, no-wrap
721 #| msgid ""
722 #| "B<getservent_r>(),\n"
723 #| "B<getservbyname_r>(),\n"
724 #| "B<getservbyport_r>()"
725 msgid ""
726 "B<putspent>(),\n"
727 "B<getspnam_r>(),\n"
728 "B<sgetspent_r>()"
729 msgstr ""
730 "B<getservent_r>(),\n"
731 "B<getservbyname_r>(),\n"
732 "B<getservbyport_r>()"
733
734 #. type: tbl table
735 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
736 #: opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid "MT-Safe locale"
739 msgstr "MT-Safe locale"
740
741 #. type: tbl table
742 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
743 #: opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid ""
746 "B<lckpwdf>(),\n"
747 "B<ulckpwdf>(),\n"
748 "B<fgetspent_r>()"
749 msgstr ""
750
751 #. type: tbl table
752 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
753 #: opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "MT-Safe"
756 msgstr "MT-Safe"
757
758 #. type: Plain text
759 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
760 #: opensuse-leap-16-1 opensuse-tumbleweed
761 msgid ""
762 "In the above table, I<getspent> in I<race:getspent> signifies that if any of "
763 "the functions B<setspent>(), B<getspent>(), B<getspent_r>(), or "
764 "B<endspent>() are used in parallel in different threads of a program, then "
765 "data races could occur."
766 msgstr ""
767 "В приведённой выше таблице I<getspent> в I<race:getspent> означает, что если "
768 "в нескольких нитях программы одновременно используются функции "
769 "B<setspent>(), B<getspent>(), B<getspent_r>() или B<endspent>(), то может "
770 "возникнуть состязательность по данным."
771
772 #. type: SH
773 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
774 #: opensuse-leap-16-1 opensuse-tumbleweed
775 #, no-wrap
776 msgid "VERSIONS"
777 msgstr "ВЕРСИИ"
778
779 #. type: Plain text
780 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
781 #: opensuse-leap-16-1 opensuse-tumbleweed
782 msgid "Many other systems provide a similar API."
783 msgstr ""
784
785 #. type: SH
786 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
787 #: opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "STANDARDS"
790 msgstr "СТАНДАРТЫ"
791
792 #. type: Plain text
793 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
794 #: opensuse-leap-16-1 opensuse-tumbleweed
795 msgid "None."
796 msgstr "Отсутствуют."
797
798 #. type: SH
799 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
800 #: opensuse-leap-16-1 opensuse-tumbleweed
801 #, no-wrap
802 msgid "SEE ALSO"
803 msgstr "СМОТРИТЕ ТАКЖЕ"
804
805 #. type: Plain text
806 #: debian-trixie debian-unstable fedora-44 fedora-rawhide mageia-cauldron
807 #: opensuse-leap-16-1 opensuse-tumbleweed
808 msgid "B<getgrnam>(3), B<getpwnam>(3), B<getpwnam_r>(3), B<shadow>(5)"
809 msgstr "B<getgrnam>(3), B<getpwnam>(3), B<getpwnam_r>(3), B<shadow>(5)"
810
811 #. type: TH
812 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 #, no-wrap
814 msgid "2026-02-08"
815 msgstr "8 февраля 2026 г."
816
817 #. type: TH
818 #: debian-unstable
819 #, fuzzy, no-wrap
820 #| msgid "Linux man-pages 6.17"
821 msgid "Linux man-pages 6.18"
822 msgstr "Справочные страницы Linux 6.17"
823
824 #. type: Plain text
825 #: debian-unstable fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
826 #: opensuse-tumbleweed
827 msgid "Standard C library (I<libc>,\\ I<-lc>)"
828 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
829
830 #. type: Plain text
831 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 #, fuzzy, no-wrap
833 #| msgid ""
834 #| "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
835 #| "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
836 msgid ""
837 "B<int getspent_r(>size_t size;\n"
838 "B< struct spwd *>I<spbuf>B<,>\n"
839 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
840 "B< struct spwd **>I<spbufp>B<);>\n"
841 "B<int getspnam_r(>size_t size;\n"
842 "B< const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
843 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
844 "B< struct spwd **>I<spbufp>B<);>\n"
845 msgstr ""
846 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
847 "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
848
849 #. type: Plain text
850 #: debian-unstable mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, fuzzy, no-wrap
852 #| msgid ""
853 #| "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
854 #| "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
855 msgid ""
856 "B<int fgetspent_r(>size_t size;\n"
857 "B< FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
858 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
859 "B< struct spwd **>I<spbufp>B<);>\n"
860 "B<int sgetspent_r(>size_t size;\n"
861 "B< const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
862 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
863 "B< struct spwd **>I<spbufp>B<);>\n"
864 msgstr ""
865 "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
866 "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
867
868 #. type: Plain text
869 #: debian-unstable fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
870 #: opensuse-tumbleweed
871 #, fuzzy
872 #| msgid ""
873 #| "Analogous to the reentrant functions for the password database, glibc "
874 #| "also has reentrant functions for the shadow password database. The "
875 #| "B<getspnam_r>() function is like B<getspnam>() but stores the retrieved "
876 #| "shadow password structure in the space pointed to by I<spbuf>. This "
877 #| "shadow password structure contains pointers to strings, and these strings "
878 #| "are stored in the buffer I<buf> of size I<buflen>. A pointer to the "
879 #| "result (in case of success) or NULL (in case no entry was found or an "
880 #| "error occurred) is stored in I<*spbufp>."
881 msgid ""
882 "Analogous to the reentrant functions for the password database, glibc also "
883 "has reentrant functions for the shadow password database. The "
884 "B<getspnam_r>() function is like B<getspnam>() but stores the retrieved "
885 "shadow password structure in the space pointed to by I<spbuf>. This shadow "
886 "password structure contains pointers to strings, and these strings are "
887 "stored in the buffer I<buf> of size I<size>. A pointer to the result (in "
888 "case of success) or NULL (in case no entry was found or an error occurred) "
889 "is stored in I<*spbufp>."
890 msgstr ""
891 "По аналогии с реентерабельными функциями для базы данных паролей, в glibc "
892 "также есть реентерабельные функции для базы данных теневых паролей. Функция "
893 "B<getspnam_r>() подобна B<getspnam>(), но хранит выбранную структуру "
894 "теневого пароля в пространстве, на которое указывает I<spbuf>. Данная "
895 "структура теневого пароля содержит указатели на строки и эти строки хранятся "
896 "в буфере I<buf> размером I<buflen>. Указатель на результат (при успешном "
897 "выполнении) или NULL (в случае отсутствия записи или ошибки) сохраняется в "
898 "I<*spbufp>."
899
900 #. type: TH
901 #: fedora-44 fedora-rawhide
902 #, no-wrap
903 msgid "2024-12-24"
904 msgstr "24 декабря 2024 г."
905
906 #. type: TH
907 #: fedora-44 fedora-rawhide
908 #, no-wrap
909 msgid "Linux man-pages 6.13"
910 msgstr "Страницы руководства Linux 6.13"
911
912 #. type: Plain text
913 #: fedora-44 fedora-rawhide
914 #, fuzzy, no-wrap
915 #| msgid ""
916 #| "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
917 #| "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
918 msgid ""
919 "B<int getspent_r(struct spwd *>I<spbuf>B<,>\n"
920 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
921 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
922 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
923 msgstr ""
924 "B<int getspnam_r(const char *>I<name>B<, struct spwd *>I<spbuf>B<,>\n"
925 "B< char *>I<buf>B<, size_t >I<buflen>B<, struct spwd **>I<spbufp>B<);>\n"
926
927 #. type: Plain text
928 #: fedora-44 fedora-rawhide
929 #, fuzzy, no-wrap
930 #| msgid ""
931 #| "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
932 #| "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
933 msgid ""
934 "B<int fgetspent_r(FILE *>I<stream>B<, struct spwd *>I<spbuf>B<,>\n"
935 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
936 "B<int sgetspent_r(const char *>I<s>B<, struct spwd *>I<spbuf>B<,>\n"
937 "B< char >I<buf>B<[.>I<size>B<], size_t >I<size>B<, struct spwd **>I<spbufp>B<);>\n"
938 msgstr ""
939 "B<int fgetpwent_r(FILE *>I<stream>B<, struct passwd *>I<pwbuf>B<, char *>I<buf>B<,>\n"
940 "B< size_t >I<buflen>B<, struct passwd **>I<pwbufp>B<);>\n"
941
942 #. type: TH
943 #: mageia-cauldron
944 #, no-wrap
945 msgid "Linux man-pages 6.17"
946 msgstr "Страницы руководства Linux 6.17"
947
948 #. type: TH
949 #: opensuse-leap-16-1 opensuse-tumbleweed
950 #, no-wrap
951 msgid "Linux man-pages (unreleased)"
952 msgstr "Страницы руководства Linux (не выпущены)"