| 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 |
# Artyom Kunyov <[email protected]>, 2012. |
| 5 |
# Azamat Hackimov <[email protected]>, 2012, 2017. |
| 6 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 7 |
# Katrin Kutepova <[email protected]>, 2018. |
| 8 |
# Konstantin Shvaykovskiy <[email protected]>, 2012. |
| 9 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 10 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 11 |
msgid "" |
| 12 |
msgstr "" |
| 13 |
"Project-Id-Version: manpages-l10n\n" |
| 14 |
"POT-Creation-Date: 2026-06-05 06:30+0200\n" |
| 15 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 16 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 17 |
"Language-Team: Russian <[email protected]>\n" |
| 18 |
"Language: ru\n" |
| 19 |
"MIME-Version: 1.0\n" |
| 20 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 21 |
"Content-Transfer-Encoding: 8bit\n" |
| 22 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 23 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 24 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 25 |
"X-Generator: Lokalize 2.0\n" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 29 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "login" |
| 32 |
msgstr "" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 36 |
#: opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "2026-02-08" |
| 39 |
msgstr "8 февраля 2026 г." |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable |
| 43 |
#, fuzzy, no-wrap |
| 44 |
#| msgid "Linux man-pages 6.17" |
| 45 |
msgid "Linux man-pages 6.18" |
| 46 |
msgstr "Справочные страницы Linux 6.17" |
| 47 |
|
| 48 |
#. type: SH |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
#, no-wrap |
| 52 |
msgid "NAME" |
| 53 |
msgstr "НАИМЕНОВАНИЕ" |
| 54 |
|
| 55 |
#. type: Plain text |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
msgid "login, logout - write utmp and wtmp entries" |
| 59 |
msgstr "login, logout - добавление записей utmp и wtmp" |
| 60 |
|
| 61 |
#. type: SH |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
#, no-wrap |
| 65 |
msgid "LIBRARY" |
| 66 |
msgstr "БИБЛИОТЕКА" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 70 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, fuzzy |
| 72 |
#| msgid "Real-time library (I<librt>, I<-lrt>)" |
| 73 |
msgid "System utilities library (I<libutil>,\\ I<-lutil>)" |
| 74 |
msgstr "Библиотека реального времени (I<librt>, I<-lrt>)" |
| 75 |
|
| 76 |
#. type: SH |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "SYNOPSIS" |
| 81 |
msgstr "СИНТАКСИС" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 85 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 86 |
#, no-wrap |
| 87 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 88 |
msgstr "B<#include E<lt>utmp.hE<gt>>\n" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 92 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 93 |
#, fuzzy, no-wrap |
| 94 |
#| msgid "B<void login(const struct utmp *>I<ut>B<);>" |
| 95 |
msgid "" |
| 96 |
"B<void login(const struct utmp *>I<ut>B<);>\n" |
| 97 |
"B<int logout(const char *>I<ut_line>B<);>\n" |
| 98 |
msgstr "B<void login(const struct utmp *>I<ut>B<);>" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "ОПИСАНИЕ" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 109 |
#: opensuse-tumbleweed |
| 110 |
#, fuzzy |
| 111 |
#| msgid "" |
| 112 |
#| "The utmp file records who is currently using the system. The wtmp file " |
| 113 |
#| "records all logins and logouts. See B<utmp>(5)." |
| 114 |
msgid "" |
| 115 |
"The I<utmp> file records who is currently using the system. The I<wtmp> " |
| 116 |
"file records all logins and logouts. See B<utmp>(5)." |
| 117 |
msgstr "" |
| 118 |
"В файл utmp записываются все, кто в данный момент пользуется системой. В " |
| 119 |
"файле wtmp записываются все входы и выходы пользователей. См B<utmp>(5)." |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 123 |
#: opensuse-tumbleweed |
| 124 |
#, fuzzy |
| 125 |
#| msgid "" |
| 126 |
#| "The function B<login>() takes the supplied I<struct utmp>, I<ut>, and " |
| 127 |
#| "writes it to both the utmp and the wtmp file." |
| 128 |
msgid "" |
| 129 |
"The function B<login>() takes the supplied I<struct utmp>, I<ut>, and " |
| 130 |
"writes it to both the I<utmp> and the I<wtmp> file." |
| 131 |
msgstr "" |
| 132 |
"Функция B<login>() принимает указанные I<struct utmp>, I<ut> и записывает их " |
| 133 |
"в файлы utmp и wtmp." |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 137 |
#: opensuse-tumbleweed |
| 138 |
#, fuzzy |
| 139 |
#| msgid "The function B<logout>() clears the entry in the utmp file again." |
| 140 |
msgid "The function B<logout>() clears the entry in the I<utmp> file again." |
| 141 |
msgstr "Функция B<logout>() очищает запись в файле utmp." |
| 142 |
|
| 143 |
#. type: SS |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "GNU details" |
| 148 |
msgstr "Особенности GNU" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 152 |
#: opensuse-tumbleweed |
| 153 |
#, fuzzy |
| 154 |
#| msgid "" |
| 155 |
#| "More precisely, B<login>() takes the argument I<ut> struct, fills the " |
| 156 |
#| "field I<ut-E<gt>ut_type> (if there is such a field) with the value " |
| 157 |
#| "B<USER_PROCESS>, and fills the field I<ut-E<gt>ut_pid> (if there is such " |
| 158 |
#| "a field) with the process ID of the calling process. Then it tries to " |
| 159 |
#| "fill the field I<ut-E<gt>ut_line>. It takes the first of I<stdin>, " |
| 160 |
#| "I<stdout>, I<stderr> that is a terminal, and stores the corresponding " |
| 161 |
#| "pathname minus a possible leading I</dev/> into this field, and then " |
| 162 |
#| "writes the struct to the utmp file. On the other hand, if no terminal " |
| 163 |
#| "name was found, this field is filled with \"???\" and the struct is not " |
| 164 |
#| "written to the utmp file. After this, the struct is written to the wtmp " |
| 165 |
#| "file." |
| 166 |
msgid "" |
| 167 |
"More precisely, B<login>() takes the argument I<ut> struct, fills the field " |
| 168 |
"I<ut-E<gt>ut_type> (if there is such a field) with the value " |
| 169 |
"B<USER_PROCESS>, and fills the field I<ut-E<gt>ut_pid> (if there is such a " |
| 170 |
"field) with the process ID of the calling process. Then it tries to fill " |
| 171 |
"the field I<ut-E<gt>ut_line>. It takes the first of I<stdin>, I<stdout>, " |
| 172 |
"I<stderr> that is a terminal, and stores the corresponding pathname minus a " |
| 173 |
"possible leading I</dev/> into this field, and then writes the struct to the " |
| 174 |
"I<utmp> file. On the other hand, if no terminal name was found, this field " |
| 175 |
"is filled with \"???\" and the struct is not written to the I<utmp> file. " |
| 176 |
"After this, the struct is written to the I<wtmp> file." |
| 177 |
msgstr "" |
| 178 |
"Если быть точнее, функция B<login>() получает структуру I<ut> в качестве " |
| 179 |
"аргумента, заполняет поле I<ut-E<gt>ut_type> (если такое поле есть) " |
| 180 |
"значением B<USER_PROCESS> и поле I<ut-E<gt>ut_pid> (если такое поле есть) " |
| 181 |
"идентификатором вызывающего процесса (PID). После этого она пытается " |
| 182 |
"заполнить поле I<ut-E<gt>ut_line>. Функция берёт первый I<stdin>, I<stdout>, " |
| 183 |
"I<stderr>, являющийся терминалом, и сохраняет соответствующий путь (за " |
| 184 |
"исключением I</dev/> спереди) в это поле, после чего записывает структуру в " |
| 185 |
"файл utmp. В случае, если имя терминала не будет обнаружено, данное поле " |
| 186 |
"будет заполнено «???», а структура не будет записана в файл utmp. После " |
| 187 |
"этого структура будет записана в файл wtmp." |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 191 |
#: opensuse-tumbleweed |
| 192 |
#, fuzzy |
| 193 |
#| msgid "" |
| 194 |
#| "The B<logout>() function searches the utmp file for an entry matching " |
| 195 |
#| "the I<ut_line> argument. If a record is found, it is updated by zeroing " |
| 196 |
#| "out the I<ut_name> and I<ut_host> fields, updating the I<ut_tv> timestamp " |
| 197 |
#| "field and setting I<ut_type> (if there is such a field) to " |
| 198 |
#| "B<DEAD_PROCESS>." |
| 199 |
msgid "" |
| 200 |
"The B<logout>() function searches the I<utmp> file for an entry matching " |
| 201 |
"the I<ut_line> argument. If a record is found, it is updated by zeroing out " |
| 202 |
"the I<ut_name> and I<ut_host> fields, updating the I<ut_tv> timestamp field " |
| 203 |
"and setting I<ut_type> (if there is such a field) to B<DEAD_PROCESS>." |
| 204 |
msgstr "" |
| 205 |
"Функция B<logout>() ищет в файле utmp запись, соответствующую аргументу " |
| 206 |
"I<ut_line>. Если запись находится, она обновляется заполнением нулям полей " |
| 207 |
"I<ut_name> и I<ut_host>, обновляется временная отметка в поле I<ut_tv>, а " |
| 208 |
"поле I<ut_type> (если такое поле есть) устанавливается в B<DEAD_PROCESS>." |
| 209 |
|
| 210 |
#. type: SH |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
#, no-wrap |
| 214 |
msgid "RETURN VALUE" |
| 215 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 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 |
"The B<logout>() function returns 1 if the entry was successfully written to " |
| 222 |
"the database, or 0 if an error occurred." |
| 223 |
msgstr "" |
| 224 |
"Функция B<logout>() возвращает 1, если запись была успешно записана в базу " |
| 225 |
"данных, и 0, если возникла ошибка." |
| 226 |
|
| 227 |
#. type: SH |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "FILES" |
| 232 |
msgstr "ФАЙЛЫ" |
| 233 |
|
| 234 |
#. type: TP |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "I</var/run/utmp>" |
| 239 |
msgstr "I</var/run/utmp>" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "" |
| 245 |
"user accounting database, configured through B<_PATH_UTMP> in " |
| 246 |
"I<E<lt>paths.hE<gt>>" |
| 247 |
msgstr "" |
| 248 |
"база учётных записей пользователей, настраивается через B<_PATH_UTMP> в " |
| 249 |
"I<E<lt>paths.hE<gt>>" |
| 250 |
|
| 251 |
#. type: TP |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "I</var/log/wtmp>" |
| 256 |
msgstr "I</var/log/wtmp>" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"user accounting log file, configured through B<_PATH_WTMP> in " |
| 263 |
"I<E<lt>paths.hE<gt>>" |
| 264 |
msgstr "" |
| 265 |
"файл журнала учёта пользователей, настраивается через B<_PATH_WTMP> в " |
| 266 |
"I<E<lt>paths.hE<gt>>" |
| 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 "ATTRIBUTES" |
| 273 |
msgstr "АТРИБУТЫ" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
msgid "" |
| 279 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 280 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 281 |
|
| 282 |
#. type: tbl table |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "Interface" |
| 287 |
msgstr "Интерфейс" |
| 288 |
|
| 289 |
#. type: tbl table |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "Attribute" |
| 294 |
msgstr "Атрибут" |
| 295 |
|
| 296 |
#. type: tbl table |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "Value" |
| 301 |
msgstr "Значение" |
| 302 |
|
| 303 |
#. type: tbl table |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid ".na\n" |
| 308 |
msgstr ".na\n" |
| 309 |
|
| 310 |
#. type: tbl table |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
#, no-wrap |
| 314 |
msgid ".nh\n" |
| 315 |
msgstr ".nh\n" |
| 316 |
|
| 317 |
#. type: tbl table |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, fuzzy, no-wrap |
| 321 |
#| msgid "B<logf>(), B<logl>():" |
| 322 |
msgid "" |
| 323 |
"B<login>(),\n" |
| 324 |
"B<logout>()" |
| 325 |
msgstr "B<logf>(), B<logl>():" |
| 326 |
|
| 327 |
#. type: tbl table |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "Thread safety" |
| 332 |
msgstr "Безвредность в нитях" |
| 333 |
|
| 334 |
#. type: tbl table |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "" |
| 339 |
"MT-Unsafe race:utent\n" |
| 340 |
"sig:ALRM timer" |
| 341 |
msgstr "" |
| 342 |
"MT-Unsafe race:utent\n" |
| 343 |
"sig:ALRM timer" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"In the above table, I<utent> in I<race:utent> signifies that if any of the " |
| 350 |
"functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in " |
| 351 |
"parallel in different threads of a program, then data races could occur. " |
| 352 |
"B<login>() and B<logout>() calls those functions, so we use race:utent to " |
| 353 |
"remind users." |
| 354 |
msgstr "" |
| 355 |
"В приведённой выше таблице I<utent> в I<race:utent> означает, что если любая " |
| 356 |
"из функций B<setutent>(3), B<getutent>(3) или B<endutent>(3) используется " |
| 357 |
"одновременно в нескольких нитях программы, то может возникнуть " |
| 358 |
"состязательность по данным. Эти функции вызываются из B<login>() и " |
| 359 |
"B<logout>(), поэтому мы используем race:utent для напоминания." |
| 360 |
|
| 361 |
#. type: SH |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
#, no-wrap |
| 365 |
msgid "VERSIONS" |
| 366 |
msgstr "ВЕРСИИ" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
#, fuzzy |
| 372 |
#| msgid "" |
| 373 |
#| "Note that the member I<ut_user> of I<struct utmp> is called I<ut_name> in " |
| 374 |
#| "BSD. Therefore, I<ut_name> is defined as an alias for I<ut_user> in " |
| 375 |
#| "I<E<lt>utmp.hE<gt>>." |
| 376 |
msgid "" |
| 377 |
"The member I<ut_user> of I<struct utmp> is called I<ut_name> in BSD. " |
| 378 |
"Therefore, I<ut_name> is defined as an alias for I<ut_user> in " |
| 379 |
"I<E<lt>utmp.hE<gt>>." |
| 380 |
msgstr "" |
| 381 |
"Заметим, что поле I<ut_user> структуры I<struct utmp> в BSD называется " |
| 382 |
"I<ut_name>. Поэтому поле I<ut_name> определено как псевдоним I<ut_user> в " |
| 383 |
"I<E<lt>utmp.hE<gt>>." |
| 384 |
|
| 385 |
#. type: SH |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
#, no-wrap |
| 389 |
msgid "STANDARDS" |
| 390 |
msgstr "СТАНДАРТЫ" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
msgid "BSD." |
| 396 |
msgstr "BSD." |
| 397 |
|
| 398 |
#. type: SH |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
#, no-wrap |
| 402 |
msgid "SEE ALSO" |
| 403 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
msgid "B<getutent>(3), B<utmp>(5)" |
| 409 |
msgstr "B<getutent>(3), B<utmp>(5)" |
| 410 |
|
| 411 |
#. type: TH |
| 412 |
#: debian-trixie |
| 413 |
#, no-wrap |
| 414 |
msgid "2024-05-02" |
| 415 |
msgstr "2 мая 2024 г." |
| 416 |
|
| 417 |
#. type: TH |
| 418 |
#: debian-trixie |
| 419 |
#, no-wrap |
| 420 |
msgid "Linux man-pages 6.9.1" |
| 421 |
msgstr "Страницы руководства Linux 6.9.1" |
| 422 |
|
| 423 |
#. type: Plain text |
| 424 |
#: debian-trixie |
| 425 |
msgid "System utilities library (I<libutil>, I<-lutil>)" |
| 426 |
msgstr "" |
| 427 |
|
| 428 |
#. type: Plain text |
| 429 |
#: debian-trixie fedora-44 fedora-rawhide |
| 430 |
msgid "" |
| 431 |
"The utmp file records who is currently using the system. The wtmp file " |
| 432 |
"records all logins and logouts. See B<utmp>(5)." |
| 433 |
msgstr "" |
| 434 |
"В файл utmp записываются все, кто в данный момент пользуется системой. В " |
| 435 |
"файле wtmp записываются все входы и выходы пользователей. См B<utmp>(5)." |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: debian-trixie fedora-44 fedora-rawhide |
| 439 |
msgid "" |
| 440 |
"The function B<login>() takes the supplied I<struct utmp>, I<ut>, and " |
| 441 |
"writes it to both the utmp and the wtmp file." |
| 442 |
msgstr "" |
| 443 |
"Функция B<login>() принимает указанные I<struct utmp>, I<ut> и записывает их " |
| 444 |
"в файлы utmp и wtmp." |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: debian-trixie fedora-44 fedora-rawhide |
| 448 |
msgid "The function B<logout>() clears the entry in the utmp file again." |
| 449 |
msgstr "Функция B<logout>() очищает запись в файле utmp." |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: debian-trixie fedora-44 fedora-rawhide |
| 453 |
msgid "" |
| 454 |
"More precisely, B<login>() takes the argument I<ut> struct, fills the field " |
| 455 |
"I<ut-E<gt>ut_type> (if there is such a field) with the value " |
| 456 |
"B<USER_PROCESS>, and fills the field I<ut-E<gt>ut_pid> (if there is such a " |
| 457 |
"field) with the process ID of the calling process. Then it tries to fill " |
| 458 |
"the field I<ut-E<gt>ut_line>. It takes the first of I<stdin>, I<stdout>, " |
| 459 |
"I<stderr> that is a terminal, and stores the corresponding pathname minus a " |
| 460 |
"possible leading I</dev/> into this field, and then writes the struct to the " |
| 461 |
"utmp file. On the other hand, if no terminal name was found, this field is " |
| 462 |
"filled with \"???\" and the struct is not written to the utmp file. After " |
| 463 |
"this, the struct is written to the wtmp file." |
| 464 |
msgstr "" |
| 465 |
"Если быть точнее, функция B<login>() получает структуру I<ut> в качестве " |
| 466 |
"аргумента, заполняет поле I<ut-E<gt>ut_type> (если такое поле есть) " |
| 467 |
"значением B<USER_PROCESS> и поле I<ut-E<gt>ut_pid> (если такое поле есть) " |
| 468 |
"идентификатором вызывающего процесса (PID). После этого она пытается " |
| 469 |
"заполнить поле I<ut-E<gt>ut_line>. Функция берёт первый I<stdin>, I<stdout>, " |
| 470 |
"I<stderr>, являющийся терминалом, и сохраняет соответствующий путь (за " |
| 471 |
"исключением I</dev/> спереди) в это поле, после чего записывает структуру в " |
| 472 |
"файл utmp. В случае, если имя терминала не будет обнаружено, данное поле " |
| 473 |
"будет заполнено «???», а структура не будет записана в файл utmp. После " |
| 474 |
"этого структура будет записана в файл wtmp." |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: debian-trixie fedora-44 fedora-rawhide |
| 478 |
msgid "" |
| 479 |
"The B<logout>() function searches the utmp file for an entry matching the " |
| 480 |
"I<ut_line> argument. If a record is found, it is updated by zeroing out the " |
| 481 |
"I<ut_name> and I<ut_host> fields, updating the I<ut_tv> timestamp field and " |
| 482 |
"setting I<ut_type> (if there is such a field) to B<DEAD_PROCESS>." |
| 483 |
msgstr "" |
| 484 |
"Функция B<logout>() ищет в файле utmp запись, соответствующую аргументу " |
| 485 |
"I<ut_line>. Если запись находится, она обновляется заполнением нулям полей " |
| 486 |
"I<ut_name> и I<ut_host>, обновляется временная отметка в поле I<ut_tv>, а " |
| 487 |
"поле I<ut_type> (если такое поле есть) устанавливается в B<DEAD_PROCESS>." |
| 488 |
|
| 489 |
#. type: TH |
| 490 |
#: fedora-44 fedora-rawhide |
| 491 |
#, no-wrap |
| 492 |
msgid "2024-07-23" |
| 493 |
msgstr "23 июля 2024 г." |
| 494 |
|
| 495 |
#. type: TH |
| 496 |
#: fedora-44 fedora-rawhide |
| 497 |
#, no-wrap |
| 498 |
msgid "Linux man-pages 6.13" |
| 499 |
msgstr "Страницы руководства Linux 6.13" |
| 500 |
|
| 501 |
#. type: TH |
| 502 |
#: mageia-cauldron |
| 503 |
#, no-wrap |
| 504 |
msgid "Linux man-pages 6.17" |
| 505 |
msgstr "Страницы руководства Linux 6.17" |
| 506 |
|
| 507 |
#. type: TH |
| 508 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 509 |
#, no-wrap |
| 510 |
msgid "Linux man-pages (unreleased)" |
| 511 |
msgstr "Страницы руководства Linux (не выпущены)" |