| 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, 2016. |
| 5 |
# Dmitriy Ovchinnikov <[email protected]>, 2012. |
| 6 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 7 |
# Katrin Kutepova <[email protected]>, 2018. |
| 8 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 9 |
# Иван Павлов <[email protected]>, 2017. |
| 10 |
msgid "" |
| 11 |
msgstr "" |
| 12 |
"Project-Id-Version: manpages-l10n\n" |
| 13 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 14 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 15 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 16 |
"Language-Team: Russian <[email protected]>\n" |
| 17 |
"Language: ru\n" |
| 18 |
"MIME-Version: 1.0\n" |
| 19 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 20 |
"Content-Transfer-Encoding: 8bit\n" |
| 21 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 22 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 23 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 24 |
"X-Generator: Lokalize 2.0\n" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 28 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "utmp" |
| 31 |
msgstr "utmp" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 35 |
#: opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "2025-09-21" |
| 38 |
msgstr "21 сентября 2025 г." |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable |
| 42 |
#, fuzzy, no-wrap |
| 43 |
#| msgid "Linux man-pages 6.17" |
| 44 |
msgid "Linux man-pages 6.18" |
| 45 |
msgstr "Справочные страницы Linux 6.17" |
| 46 |
|
| 47 |
#. type: SH |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
#, no-wrap |
| 51 |
msgid "NAME" |
| 52 |
msgstr "НАИМЕНОВАНИЕ" |
| 53 |
|
| 54 |
#. type: Plain text |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
msgid "utmp, wtmp - login records" |
| 58 |
msgstr "utmp, wtmp - записи о входах в систему" |
| 59 |
|
| 60 |
#. type: SH |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "SYNOPSIS" |
| 65 |
msgstr "СИНТАКСИС" |
| 66 |
|
| 67 |
#. type: Plain text |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 72 |
msgstr "B<#include E<lt>utmp.hE<gt>>\n" |
| 73 |
|
| 74 |
#. type: SH |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "DESCRIPTION" |
| 79 |
msgstr "ОПИСАНИЕ" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
msgid "" |
| 85 |
"The I<utmp> file allows one to discover information about who is currently " |
| 86 |
"using the system. There may be more users currently using the system, " |
| 87 |
"because not all programs use utmp logging." |
| 88 |
msgstr "" |
| 89 |
"Файл I<utmp> позволяет получать информацию о том, кто в данный момент " |
| 90 |
"работает в системе. Пользователей, в данное время использующих систему, " |
| 91 |
"может быть большое количество, поскольку не все программы используют " |
| 92 |
"протоколирование через utmp." |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
msgid "" |
| 98 |
"B<Warning:> I<utmp> must not be writable by the user class \"other\", " |
| 99 |
"because many system programs (foolishly) depend on its integrity. You risk " |
| 100 |
"faked system logfiles and modifications of system files if you leave I<utmp> " |
| 101 |
"writable to any user other than the owner and group owner of the file." |
| 102 |
msgstr "" |
| 103 |
"B<Предупреждение:> I<utmp> не должен быть доступен на запись классу " |
| 104 |
"пользователей \"остальные\", так как многие системные программы (что очень " |
| 105 |
"глупо) зависят от его целостности. Вы рискуете получить фиктивные системные " |
| 106 |
"файлы статистики и изменения в системных файлах, если предоставите любому " |
| 107 |
"пользователю возможность писать в файл I<utmp> кроме владельца и группы, " |
| 108 |
"которой принадлежит файл." |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "" |
| 114 |
"The file is a sequence of I<utmp> structures, declared as follows in " |
| 115 |
"I<E<lt>utmp.hE<gt>> (note that this is only one of several definitions " |
| 116 |
"around; details depend on the version of libc):" |
| 117 |
msgstr "" |
| 118 |
"Файл состоит из списка записей с типом структуры I<utmp>, объявленной в " |
| 119 |
"I<E<lt>utmp.hE<gt>> (заметим, что в данном случае указано только один из " |
| 120 |
"вариантов; детали зависят от версии libc):" |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 124 |
#: opensuse-tumbleweed |
| 125 |
#, fuzzy, no-wrap |
| 126 |
#| msgid "" |
| 127 |
#| "struct utmp {\n" |
| 128 |
#| " short ut_type; /* Type of record */\n" |
| 129 |
#| " pid_t ut_pid; /* PID of login process */\n" |
| 130 |
#| " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 131 |
#| " char ut_id[4]; /* Terminal name suffix,\n" |
| 132 |
#| " or inittab(5) ID */\n" |
| 133 |
#| " char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 134 |
#| " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 135 |
#| " kernel version for run-level\n" |
| 136 |
#| " messages */\n" |
| 137 |
#| " struct exit_status ut_exit; /* Exit status of a process\n" |
| 138 |
#| " marked as DEAD_PROCESS; not\n" |
| 139 |
#| " used by Linux init(1) */\n" |
| 140 |
#| " /* The ut_session and ut_tv fields must be the same size when\n" |
| 141 |
#| " compiled 32- and 64-bit. This allows data files and shared\n" |
| 142 |
#| " memory to be shared between 32- and 64-bit applications. */\n" |
| 143 |
#| "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 144 |
#| " int32_t ut_session; /* Session ID (B<getsid>(2)),\n" |
| 145 |
#| " used for windowing */\n" |
| 146 |
#| " struct {\n" |
| 147 |
#| " int32_t tv_sec; /* Seconds */\n" |
| 148 |
#| " int32_t tv_usec; /* Microseconds */\n" |
| 149 |
#| " } ut_tv; /* Time entry was made */\n" |
| 150 |
#| "#else\n" |
| 151 |
#| " long ut_session; /* Session ID */\n" |
| 152 |
#| " struct timeval ut_tv; /* Time entry was made */\n" |
| 153 |
#| "#endif\n" |
| 154 |
msgid "" |
| 155 |
"/* Values for ut_type field, below */\n" |
| 156 |
"\\&\n" |
| 157 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 158 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 159 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 160 |
" B<init>(1))\\ \n" |
| 161 |
"*/\n" |
| 162 |
"#define BOOT_TIME 2 /* Time of system boot (in \\f[I]ut_tv\\fR) */\n" |
| 163 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 164 |
" (in \\f[I]ut_tv\\fR) */\n" |
| 165 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 166 |
" (in \\f[I]ut_tv\\fR) */\n" |
| 167 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n" |
| 168 |
"*/\n" |
| 169 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 170 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 171 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 172 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 173 |
"\\&\n" |
| 174 |
"#define UT_LINESIZE 32\n" |
| 175 |
"#define UT_NAMESIZE 32\n" |
| 176 |
"#define UT_HOSTSIZE 256\n" |
| 177 |
"\\&\n" |
| 178 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 179 |
" short e_termination; /* Process termination status */\n" |
| 180 |
" short e_exit; /* Process exit status */\n" |
| 181 |
"};\n" |
| 182 |
"\\&\n" |
| 183 |
"struct utmp {\n" |
| 184 |
" short ut_type; /* Type of record */\n" |
| 185 |
" pid_t ut_pid; /* PID of login process */\n" |
| 186 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 187 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 188 |
" or inittab(5) ID */\n" |
| 189 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 190 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 191 |
" kernel version for run-level\n" |
| 192 |
" messages */\n" |
| 193 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 194 |
" marked as DEAD_PROCESS; not\n" |
| 195 |
" used by Linux B<init>(1)\\ \n" |
| 196 |
"*/\n" |
| 197 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 198 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 199 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 200 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 201 |
" int32_t ut_session; /* Session ID (\n" |
| 202 |
"B<getsid>(2)),\n" |
| 203 |
" used for windowing */\n" |
| 204 |
" struct {\n" |
| 205 |
" int32_t tv_sec; /* Seconds */\n" |
| 206 |
" int32_t tv_usec; /* Microseconds */\n" |
| 207 |
" } ut_tv; /* Time entry was made */\n" |
| 208 |
"#else\n" |
| 209 |
" long ut_session; /* Session ID */\n" |
| 210 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 211 |
"#endif\n" |
| 212 |
"\\&\n" |
| 213 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 214 |
" host; IPv4 address uses\n" |
| 215 |
" just ut_addr_v6[0] */\n" |
| 216 |
" char __unused[20]; /* Reserved for future use */\n" |
| 217 |
"};\n" |
| 218 |
"\\&\n" |
| 219 |
"/* Backward compatibility hacks */\n" |
| 220 |
"#define ut_name ut_user\n" |
| 221 |
"#ifndef _NO_UT_TIME\n" |
| 222 |
"#define ut_time ut_tv.tv_sec\n" |
| 223 |
"#endif\n" |
| 224 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 225 |
"#define ut_addr ut_addr_v6[0]\n" |
| 226 |
msgstr "" |
| 227 |
"struct utmp {\n" |
| 228 |
" short ut_type; /* тип записи */\n" |
| 229 |
" pid_t ut_pid; /* PID процесса входа в систему */\n" |
| 230 |
" char ut_line[UT_LINESIZE]; /* имя устройства tty - \"/dev/\" */\n" |
| 231 |
" char ut_id[4]; /* суффикс имени терминала\n" |
| 232 |
" или inittab(5) ID */\n" |
| 233 |
" char ut_user[UT_NAMESIZE]; /* имя пользователя */\n" |
| 234 |
" char ut_host[UT_HOSTSIZE]; /* имя узла при удалённом входе или\n" |
| 235 |
" версия ядра для сообщений\n" |
| 236 |
" уровня выполнения */\n" |
| 237 |
" struct exit_status ut_exit; /* код выхода процесса,\n" |
| 238 |
" помеченного как DEAD_PROCESS; не\n" |
| 239 |
" используется Linux init(1) */\n" |
| 240 |
" /* Поля ut_session и ut_tv должны быть одинакового размера и при\n" |
| 241 |
" 32- и при 64-битной компиляции. Это позволяет использовать файлы\n" |
| 242 |
" данных и память одновременно и в 32- и в 64-битных приложениях. */\n" |
| 243 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 244 |
" int32_t ut_session; /* ID сеанса (B<getsid>(2)),\n" |
| 245 |
" используемый при работе с окнами */\n" |
| 246 |
" struct {\n" |
| 247 |
" int32_t tv_sec; /* секунды */\n" |
| 248 |
" int32_t tv_usec; /* микросекунды */\n" |
| 249 |
" } ut_tv; /* время создания элемента */\n" |
| 250 |
"#else\n" |
| 251 |
" long ut_session; /* ID сеанса */\n" |
| 252 |
" struct timeval ut_tv; /* время создания элемента */\n" |
| 253 |
"#endif\n" |
| 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 |
#, fuzzy |
| 259 |
#| msgid "" |
| 260 |
#| "This structure gives the name of the special file associated with the " |
| 261 |
#| "user's terminal, the user's login name, and the time of login in the form " |
| 262 |
#| "of B<time>(2). String fields are terminated by a null byte (\\(aq\\e0\\" |
| 263 |
#| "(aq) if they are shorter than the size of the field." |
| 264 |
msgid "" |
| 265 |
"This structure gives the name of the special file associated with the user's " |
| 266 |
"terminal, the user's login name, and the time of login in the form of " |
| 267 |
"B<time>(2). String fields are terminated by a null byte (\\[aq]\\[rs]0\\" |
| 268 |
"[aq]) if they are shorter than the size of the field." |
| 269 |
msgstr "" |
| 270 |
"Эта структура дает имя специальному файлу, связанному с терминалом " |
| 271 |
"пользователя, именем входа пользователя и временем входа в виде как у " |
| 272 |
"B<time>(2). Поля строк заканчиваются байтом null (\\(aq\\e\\(aq), если они " |
| 273 |
"короче, чем размер поля." |
| 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 |
"The first entries ever created result from B<init>(1) processing " |
| 280 |
"B<inittab>(5). Before an entry is processed, though, B<init>(1) cleans up " |
| 281 |
"utmp by setting I<ut_type> to B<DEAD_PROCESS>, clearing I<ut_user>, " |
| 282 |
"I<ut_host>, and I<ut_time> with null bytes for each record which I<ut_type> " |
| 283 |
"is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with PID I<ut_pid> " |
| 284 |
"exists. If no empty record with the needed I<ut_id> can be found, " |
| 285 |
"B<init>(1) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> " |
| 286 |
"and I<ut_time> to the current values, and I<ut_type> to B<INIT_PROCESS>." |
| 287 |
msgstr "" |
| 288 |
"Самые первые записи создаются B<init>(1) после обработки B<inittab>(5). Хотя " |
| 289 |
"перед тем, как элемент обрабатывается, B<init>(1) очищает utmp, устанавливая " |
| 290 |
"I<ut_type> равным B<DEAD_PROCESS>, заполняя I<ut_user>, I<ut_host> и " |
| 291 |
"I<ut_time> нулевыми байтами в записях, в которых I<ut_type> не равен " |
| 292 |
"B<DEAD_PROCESS> или B<RUN_LVL> и для которых не существует процессов с PID, " |
| 293 |
"равным I<ut_pid>. Если не найдено ни одной пустой записи с нужным I<ut_id>, " |
| 294 |
"то B<init>(1) создает новую. Он устанавливает значение I<ut_id> из inittab, " |
| 295 |
"I<ut_pid> и I<ut_time> из текущих значений и I<ut_type> в B<INIT_PROCESS>." |
| 296 |
|
| 297 |
#. type: Plain text |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
msgid "" |
| 301 |
"B<mingetty>(8) (or B<agetty>(8)) locates the entry by the PID, changes " |
| 302 |
"I<ut_type> to B<LOGIN_PROCESS>, changes I<ut_time>, sets I<ut_line>, and " |
| 303 |
"waits for connection to be established. B<login>(1), after a user has been " |
| 304 |
"authenticated, changes I<ut_type> to B<USER_PROCESS>, changes I<ut_time>, " |
| 305 |
"and sets I<ut_host> and I<ut_addr>. Depending on B<mingetty>(8) (or " |
| 306 |
"B<agetty>(8)) and B<login>(1), records may be located by I<ut_line> instead " |
| 307 |
"of the preferable I<ut_pid>." |
| 308 |
msgstr "" |
| 309 |
"B<mingetty>(8) (или B<agetty>(8)) находит элементы по их идентификатору PID, " |
| 310 |
"меняет I<ut_type> на B<LOGIN_PROCESS>, изменяет I<ut_time>, устанавливает " |
| 311 |
"I<ut_line> и ожидает установки соединения.B<login>(1), после того как " |
| 312 |
"пользователь был идентифицирован, меняет I<ut_type> на B<USER_PROCESS>, " |
| 313 |
"изменяет I<ut_time> и устанавливает I<ut_host> и I<ut_addr>. В зависимости " |
| 314 |
"от B<mingetty>(8) (или B<agetty>(8)) и B<login>(1), записи могут быть " |
| 315 |
"расположены в соответствии с I<ut_line>, вместо более предпочитаемого " |
| 316 |
"I<ut_pid>." |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "" |
| 322 |
"When B<init>(1) finds that a process has exited, it locates its utmp entry " |
| 323 |
"by I<ut_pid>, sets I<ut_type> to B<DEAD_PROCESS>, and clears I<ut_user>, " |
| 324 |
"I<ut_host>, and I<ut_time> with null bytes." |
| 325 |
msgstr "" |
| 326 |
"Когда B<init>(1) обнаруживает, что процесс завершился, он находит его запись " |
| 327 |
"в utmp по I<ut_pid>, устанавливает I<ut_type> в B<DEAD_PROCESS>, и затирает " |
| 328 |
"I<ut_user>, I<ut_host> и I<ut_time> нулями." |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, fuzzy |
| 334 |
#| msgid "" |
| 335 |
#| "B<xterm>(1) and other terminal emulators directly create a " |
| 336 |
#| "B<USER_PROCESS> record and generate the I<ut_id> by using the string that " |
| 337 |
#| "suffix part of the terminal name (the characters following I</dev/" |
| 338 |
#| "[pt]ty>). If they find a B<DEAD_PROCESS> for this ID, they recycle it, " |
| 339 |
#| "otherwise they create a new entry. If they can, they will mark it as " |
| 340 |
#| "B<DEAD_PROCESS> on exiting and it is advised that they null I<ut_line>, " |
| 341 |
#| "I<ut_time>, I<ut_user>, and I<ut_host> as well." |
| 342 |
msgid "" |
| 343 |
"B<xterm>(1) and other terminal emulators directly create a B<USER_PROCESS> " |
| 344 |
"record and generate the I<ut_id> by using the string that suffix part of the " |
| 345 |
"terminal name (the characters following I</dev/>[pt]I<ty>). If they find a " |
| 346 |
"B<DEAD_PROCESS> for this ID, they recycle it, otherwise they create a new " |
| 347 |
"entry. If they can, they will mark it as B<DEAD_PROCESS> on exiting and it " |
| 348 |
"is advised that they null I<ut_line>, I<ut_time>, I<ut_user>, and I<ut_host> " |
| 349 |
"as well." |
| 350 |
msgstr "" |
| 351 |
"B<xterm>(1) и другие эмуляторы терминалов самостоятельно создают запись " |
| 352 |
"B<USER_PROCESS> и генерируют I<ut_id>, используя последние две буквы имени " |
| 353 |
"из имени терминала (символы после I</dev/[pt]ty>). Если они обнаруживают " |
| 354 |
"B<DEAD_PROCESS> для этого ID, то они удаляют его или создают новый элемент. " |
| 355 |
"Если возможно, они пометят его как B<DEAD_PROCESS> при выходе; " |
| 356 |
"предполагается, что они также обнуляют I<ut_line>, I<ut_time>, I<ut_user> и " |
| 357 |
"I<ut_host>." |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
msgid "" |
| 363 |
"B<telnetd>(8) sets up a B<LOGIN_PROCESS> entry and leaves the rest to " |
| 364 |
"B<login>(1) as usual. After the telnet session ends, B<telnetd>(8) cleans " |
| 365 |
"up utmp in the described way." |
| 366 |
msgstr "" |
| 367 |
"B<telnetd>(8) устанавливает элемент B<LOGIN_PROCESS> и оставляет остальное, " |
| 368 |
"как обычно, аргументу для B<login>(1). После завершения сеанса telnet, " |
| 369 |
"B<telnetd>(8) очищает utmp вышеописанным путем." |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, fuzzy |
| 375 |
#| msgid "" |
| 376 |
#| "The I<wtmp> file records all logins and logouts. Its format is exactly " |
| 377 |
#| "like I<utmp> except that a null username indicates a logout on the " |
| 378 |
#| "associated terminal. Furthermore, the terminal name B<\\(ti> with " |
| 379 |
#| "username B<shutdown> or B<reboot> indicates a system shutdown or reboot " |
| 380 |
#| "and the pair of terminal names B<|>/B<}> logs the old/new system time " |
| 381 |
#| "when B<date>(1) changes it. I<wtmp> is maintained by B<login>(1), " |
| 382 |
#| "B<init>(1), and some versions of B<getty>(8) (e.g., B<mingetty>(8) or " |
| 383 |
#| "B<agetty>(8)). None of these programs creates the file, so if it is " |
| 384 |
#| "removed, record-keeping is turned off." |
| 385 |
msgid "" |
| 386 |
"The I<wtmp> file records all logins and logouts. Its format is exactly like " |
| 387 |
"I<utmp> except that a null username indicates a logout on the associated " |
| 388 |
"terminal. Furthermore, the terminal name B<\\[ti]> with username " |
| 389 |
"B<shutdown> or B<reboot> indicates a system shutdown or reboot and the pair " |
| 390 |
"of terminal names B<|>/B<}> logs the old/new system time when B<date>(1) " |
| 391 |
"changes it. I<wtmp> is maintained by B<login>(1), B<init>(1), and some " |
| 392 |
"versions of B<getty>(8) (e.g., B<mingetty>(8) or B<agetty>(8)). None of " |
| 393 |
"these programs creates the file, so if it is removed, record-keeping is " |
| 394 |
"turned off." |
| 395 |
msgstr "" |
| 396 |
"В файл I<wtmp> записываются все входы и выходы в систему. Его формат в " |
| 397 |
"точности похож на формат I<utmp>, за исключением того, что пустое имя " |
| 398 |
"пользователя означает выход из системы через связанный терминал. Кроме того, " |
| 399 |
"название терминала B<\\(ti> с именем пользователя B<shutdown> или B<reboot> " |
| 400 |
"означает выключение системы или её перезагрузку, а пара названий терминала " |
| 401 |
"B<|>/B<}> означает старое/новое системное время в случае, когда B<date>(1) " |
| 402 |
"меняет их. В I<wtmp> пишут B<login>(1), B<init>(1) и некоторые версии " |
| 403 |
"B<getty>(8) (например, B<mingetty>(8) или B<agetty>(8)). Ни одна из этих " |
| 404 |
"программ не создает файл, поэтому если он удалён, то ведение записей " |
| 405 |
"заканчивается." |
| 406 |
|
| 407 |
#. type: SH |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
#, no-wrap |
| 411 |
msgid "FILES" |
| 412 |
msgstr "ФАЙЛЫ" |
| 413 |
|
| 414 |
#. type: Plain text |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
msgid "I</var/run/utmp>" |
| 418 |
msgstr "I</var/run/utmp>" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "I</var/log/wtmp>" |
| 424 |
msgstr "I</var/log/wtmp>" |
| 425 |
|
| 426 |
#. type: SH |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "VERSIONS" |
| 431 |
msgstr "ВЕРСИИ" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, fuzzy |
| 437 |
#| msgid "" |
| 438 |
#| "POSIX.1 does not specify a I<utmp> structure, but rather one named " |
| 439 |
#| "I<utmpx>, with specifications for the fields I<ut_type>, I<ut_pid>, " |
| 440 |
#| "I<ut_line>, I<ut_id>, I<ut_user>, and I<ut_tv>. POSIX.1 does not specify " |
| 441 |
#| "the lengths of the I<ut_line> and I<ut_user> fields." |
| 442 |
msgid "" |
| 443 |
"POSIX.1 does not specify a I<utmp> structure, but rather one named I<utmpx> " |
| 444 |
"(as part of the XSI extension), with specifications for the fields " |
| 445 |
"I<ut_type>, I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user>, and I<ut_tv>. " |
| 446 |
"POSIX.1 does not specify the lengths of the I<ut_line> and I<ut_user> fields." |
| 447 |
msgstr "" |
| 448 |
"В POSIX.1 структура I<utmp> не определена, но есть похожая с именем I<utmpx> " |
| 449 |
"и полями I<ut_type>, I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user> и I<ut_tv>. " |
| 450 |
"В POSIX.1 не указан размер полей I<ut_line> и I<ut_user>." |
| 451 |
|
| 452 |
#. type: Plain text |
| 453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 455 |
msgid "" |
| 456 |
"Linux defines the I<utmpx> structure to be the same as the I<utmp> structure." |
| 457 |
msgstr "В Linux структура I<utmpx> совпадает со структурой I<utmp>." |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "STANDARDS" |
| 464 |
msgstr "СТАНДАРТЫ" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
msgid "Linux." |
| 470 |
msgstr "Linux." |
| 471 |
|
| 472 |
#. type: SH |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
#, no-wrap |
| 476 |
msgid "HISTORY" |
| 477 |
msgstr "ИСТОРИЯ" |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
msgid "" |
| 483 |
"Linux utmp entries conform neither to v7/BSD nor to System V; they are a mix " |
| 484 |
"of the two." |
| 485 |
msgstr "" |
| 486 |
"В Linux записи utmp не следуют форматам ни v7/BSD ни System V; они содержат " |
| 487 |
"поля из обоих форматов." |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "" |
| 493 |
"v7/BSD has fewer fields; most importantly it lacks I<ut_type>, which causes " |
| 494 |
"native v7/BSD-like programs to display (for example) dead or login entries. " |
| 495 |
"Further, there is no configuration file which allocates slots to sessions. " |
| 496 |
"BSD does so because it lacks I<ut_id> fields." |
| 497 |
msgstr "" |
| 498 |
"v7/BSD имеет меньшее количество полей; важнее всего то, что в нём нет " |
| 499 |
"I<ut_type>, который заставляет v7/BSD-совместимые программы выводить, к " |
| 500 |
"примеру, отработавшие записи или записи о входе систему. Также в этой версии " |
| 501 |
"отсутствует файл настройки, который определяет места для сеансов. Всё это " |
| 502 |
"делается в BSD из-за отсутствия поля I<ut_id>." |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
msgid "" |
| 508 |
"In Linux (as in System V), the I<ut_id> field of a record will never change " |
| 509 |
"once it has been set, which reserves that slot without needing a " |
| 510 |
"configuration file. Clearing I<ut_id> may result in race conditions leading " |
| 511 |
"to corrupted utmp entries and potential security holes. Clearing the " |
| 512 |
"abovementioned fields by filling them with null bytes is not required by " |
| 513 |
"System V semantics, but makes it possible to run many programs which assume " |
| 514 |
"BSD semantics and which do not modify utmp. Linux uses the BSD conventions " |
| 515 |
"for line contents, as documented above." |
| 516 |
msgstr "" |
| 517 |
"В Linux (как в System V) поле I<ut_id> записи никогда не меняется после " |
| 518 |
"того, как один раз установлено, что позволяет резервировать место без " |
| 519 |
"необходимости в файле настройки. Очищение I<ut_id> может привести к " |
| 520 |
"соперничеству, приводящему к повреждению элементов utmp и нарушению " |
| 521 |
"безопасности системы. Очистка вышеупомянутых полей нулями не требуется " |
| 522 |
"согласно семантике System V, но позволяет запускать многие программы, " |
| 523 |
"которые используют семантику BSD и которые не изменяют utmp. Linux " |
| 524 |
"использует соглашение BSD при работе с содержимым строк, как описано ранее." |
| 525 |
|
| 526 |
#. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 527 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 528 |
#. System V only uses the type field to mark them and logs |
| 529 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 530 |
#. type: Plain text |
| 531 |
#. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 532 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 533 |
#. System V only uses the type field to mark them and logs |
| 534 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 535 |
#. type: Plain text |
| 536 |
#. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 537 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 538 |
#. System V only uses the type field to mark them and logs |
| 539 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 540 |
#. type: Plain text |
| 541 |
#. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 542 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 543 |
#. System V only uses the type field to mark them and logs |
| 544 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 545 |
#. type: Plain text |
| 546 |
#. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 547 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 548 |
#. System V only uses the type field to mark them and logs |
| 549 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 550 |
#. type: Plain text |
| 551 |
#. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 552 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 553 |
#. System V only uses the type field to mark them and logs |
| 554 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 555 |
#. type: Plain text |
| 556 |
#. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 557 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 558 |
#. System V only uses the type field to mark them and logs |
| 559 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 560 |
#. type: Plain text |
| 561 |
#. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 562 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 563 |
#. System V only uses the type field to mark them and logs |
| 564 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 565 |
#. type: Plain text |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
msgid "System V has no I<ut_host> or I<ut_addr_v6> fields." |
| 569 |
msgstr "В System V нет полей I<ut_host> и I<ut_addr_v6>." |
| 570 |
|
| 571 |
#. type: SH |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
#, no-wrap |
| 575 |
msgid "NOTES" |
| 576 |
msgstr "ПРИМЕЧАНИЯ" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 580 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 581 |
msgid "" |
| 582 |
"Unlike various other systems, where utmp logging can be disabled by removing " |
| 583 |
"the file, utmp must always exist on Linux. If you want to disable " |
| 584 |
"B<who>(1), then do not make utmp world readable." |
| 585 |
msgstr "" |
| 586 |
"В отличии от других систем, где протоколирование сообщений utmp может быть " |
| 587 |
"выключено простым удалением файла, в Linux файл utmp всегда должен " |
| 588 |
"существовать. Если вы хотите отключить B<who>(1), то просто сделайте чтение " |
| 589 |
"utmp недоступным всем остальным." |
| 590 |
|
| 591 |
#. type: Plain text |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
msgid "" |
| 595 |
"The file format is machine-dependent, so it is recommended that it be " |
| 596 |
"processed only on the machine architecture where it was created." |
| 597 |
msgstr "" |
| 598 |
"Формат файла зависит от архитектуры, поэтому рекомендуется, чтобы он " |
| 599 |
"обрабатывался только на машинах с одинаковой архитектурой." |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 603 |
#: opensuse-tumbleweed |
| 604 |
#, fuzzy |
| 605 |
#| msgid "" |
| 606 |
#| "Note that on I<biarch> platforms, that is, systems which can run both 32-" |
| 607 |
#| "bit and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the " |
| 608 |
#| "same size in 32-bit mode as in 64-bit mode. The same goes for " |
| 609 |
#| "I<ut_session> and I<ut_time> if they are present. This allows data files " |
| 610 |
#| "and shared memory to be shared between 32-bit and 64-bit applications. " |
| 611 |
#| "This is achieved by changing the type of I<ut_session> to I<int32_t>, and " |
| 612 |
#| "that of I<ut_tv> to a struct with two I<int32_t> fields I<tv_sec> and " |
| 613 |
#| "I<tv_usec>. Since I<ut_tv> may not be the same as I<struct timeval>, " |
| 614 |
#| "then instead of the call:" |
| 615 |
msgid "" |
| 616 |
"Note that on I<biarch> platforms, that is, systems which can run both 32-bit " |
| 617 |
"and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same " |
| 618 |
"size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and " |
| 619 |
"I<ut_time> if they are present. This allows data files and shared memory to " |
| 620 |
"be shared between 32-bit and 64-bit applications. This is achieved by " |
| 621 |
"changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a " |
| 622 |
"struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> " |
| 623 |
"may not be the same as I<struct\\ timeval>, then instead of the call:" |
| 624 |
msgstr "" |
| 625 |
"Заметим, что на I<двуархитектурных> платформах, то есть системах, которые " |
| 626 |
"позволяют запускать сразу 32- и 64-битные приложения (x86-64, ppc64, s390x и " |
| 627 |
"т.д.), поле I<ut_tv> имеет одинаковый размер в 32- и 64-битном режиме. Это " |
| 628 |
"же относится к I<ut_session> и I<ut_time>, если они есть. Это позволяет " |
| 629 |
"использовать файлы данных и память одновременно и в 32- и в 64-битных " |
| 630 |
"приложениях. Данная возможность достигается сменой типа I<ut_session> на " |
| 631 |
"I<int32_t> и I<ut_tv> на структуру с двумя полями I<int32_t> \\(em I<tv_sec> " |
| 632 |
"и I<tv_usec>. Так как I<ut_tv> не может быть одинакова с I<struct timeval>, " |
| 633 |
"то вместо вызова:" |
| 634 |
|
| 635 |
#. type: Plain text |
| 636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
#, no-wrap |
| 639 |
msgid "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n" |
| 640 |
msgstr "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
msgid "the following method of setting this field is recommended:" |
| 646 |
msgstr "для установки значения этого поля рекомендуется использовать:" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
#, fuzzy, no-wrap |
| 652 |
#| msgid "" |
| 653 |
#| "gettimeofday(&tv, NULL);\n" |
| 654 |
#| "ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 655 |
#| "ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 656 |
msgid "" |
| 657 |
"struct utmp ut;\n" |
| 658 |
"struct timeval tv;\n" |
| 659 |
"\\&\n" |
| 660 |
"gettimeofday(&tv, NULL);\n" |
| 661 |
"ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 662 |
"ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 663 |
msgstr "" |
| 664 |
"gettimeofday(&tv, NULL);\n" |
| 665 |
"ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 666 |
"ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 667 |
|
| 668 |
#. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 669 |
#. .P |
| 670 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 671 |
#. Because of this, |
| 672 |
#. binaries using the old libc5 struct will corrupt |
| 673 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 674 |
#. .SH BUGS |
| 675 |
#. This man page is based on the libc5 one, things may work differently now. |
| 676 |
#. type: SH |
| 677 |
#. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 678 |
#. .P |
| 679 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 680 |
#. Because of this, |
| 681 |
#. binaries using the old libc5 struct will corrupt |
| 682 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 683 |
#. .SH BUGS |
| 684 |
#. This man page is based on the libc5 one, things may work differently now. |
| 685 |
#. type: SH |
| 686 |
#. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 687 |
#. .P |
| 688 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 689 |
#. Because of this, |
| 690 |
#. binaries using the old libc5 struct will corrupt |
| 691 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 692 |
#. .SH BUGS |
| 693 |
#. This man page is based on the libc5 one, things may work differently now. |
| 694 |
#. type: SH |
| 695 |
#. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 696 |
#. .P |
| 697 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 698 |
#. Because of this, |
| 699 |
#. binaries using the old libc5 struct will corrupt |
| 700 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 701 |
#. .SH BUGS |
| 702 |
#. This man page is based on the libc5 one, things may work differently now. |
| 703 |
#. type: SH |
| 704 |
#. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 705 |
#. .P |
| 706 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 707 |
#. Because of this, |
| 708 |
#. binaries using the old libc5 struct will corrupt |
| 709 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 710 |
#. .SH BUGS |
| 711 |
#. This man page is based on the libc5 one, things may work differently now. |
| 712 |
#. type: SH |
| 713 |
#. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 714 |
#. .P |
| 715 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 716 |
#. Because of this, |
| 717 |
#. binaries using the old libc5 struct will corrupt |
| 718 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 719 |
#. .SH BUGS |
| 720 |
#. This man page is based on the libc5 one, things may work differently now. |
| 721 |
#. type: SH |
| 722 |
#. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 723 |
#. .P |
| 724 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 725 |
#. Because of this, |
| 726 |
#. binaries using the old libc5 struct will corrupt |
| 727 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 728 |
#. .SH BUGS |
| 729 |
#. This man page is based on the libc5 one, things may work differently now. |
| 730 |
#. type: SH |
| 731 |
#. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 732 |
#. .P |
| 733 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 734 |
#. Because of this, |
| 735 |
#. binaries using the old libc5 struct will corrupt |
| 736 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 737 |
#. .SH BUGS |
| 738 |
#. This man page is based on the libc5 one, things may work differently now. |
| 739 |
#. type: SH |
| 740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 742 |
#, no-wrap |
| 743 |
msgid "SEE ALSO" |
| 744 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
msgid "" |
| 750 |
"B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), " |
| 751 |
"B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), " |
| 752 |
"B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)" |
| 753 |
msgstr "" |
| 754 |
"B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), " |
| 755 |
"B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), " |
| 756 |
"B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)" |
| 757 |
|
| 758 |
#. type: TH |
| 759 |
#: debian-trixie |
| 760 |
#, no-wrap |
| 761 |
msgid "2024-06-15" |
| 762 |
msgstr "15 июня 2024 г." |
| 763 |
|
| 764 |
#. type: TH |
| 765 |
#: debian-trixie |
| 766 |
#, no-wrap |
| 767 |
msgid "Linux man-pages 6.9.1" |
| 768 |
msgstr "Страницы руководства Linux 6.9.1" |
| 769 |
|
| 770 |
#. type: Plain text |
| 771 |
#: debian-trixie |
| 772 |
#, fuzzy, no-wrap |
| 773 |
#| msgid "" |
| 774 |
#| "struct utmp {\n" |
| 775 |
#| " short ut_type; /* Type of record */\n" |
| 776 |
#| " pid_t ut_pid; /* PID of login process */\n" |
| 777 |
#| " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 778 |
#| " char ut_id[4]; /* Terminal name suffix,\n" |
| 779 |
#| " or inittab(5) ID */\n" |
| 780 |
#| " char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 781 |
#| " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 782 |
#| " kernel version for run-level\n" |
| 783 |
#| " messages */\n" |
| 784 |
#| " struct exit_status ut_exit; /* Exit status of a process\n" |
| 785 |
#| " marked as DEAD_PROCESS; not\n" |
| 786 |
#| " used by Linux init(1) */\n" |
| 787 |
#| " /* The ut_session and ut_tv fields must be the same size when\n" |
| 788 |
#| " compiled 32- and 64-bit. This allows data files and shared\n" |
| 789 |
#| " memory to be shared between 32- and 64-bit applications. */\n" |
| 790 |
#| "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 791 |
#| " int32_t ut_session; /* Session ID (B<getsid>(2)),\n" |
| 792 |
#| " used for windowing */\n" |
| 793 |
#| " struct {\n" |
| 794 |
#| " int32_t tv_sec; /* Seconds */\n" |
| 795 |
#| " int32_t tv_usec; /* Microseconds */\n" |
| 796 |
#| " } ut_tv; /* Time entry was made */\n" |
| 797 |
#| "#else\n" |
| 798 |
#| " long ut_session; /* Session ID */\n" |
| 799 |
#| " struct timeval ut_tv; /* Time entry was made */\n" |
| 800 |
#| "#endif\n" |
| 801 |
msgid "" |
| 802 |
"/* Values for ut_type field, below */\n" |
| 803 |
"\\&\n" |
| 804 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 805 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 806 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 807 |
" B<init>(1)) */\n" |
| 808 |
"#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n" |
| 809 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 810 |
" (in I<ut_tv>) */\n" |
| 811 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 812 |
" (in I<ut_tv>) */\n" |
| 813 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1) */\n" |
| 814 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 815 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 816 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 817 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 818 |
"\\&\n" |
| 819 |
"#define UT_LINESIZE 32\n" |
| 820 |
"#define UT_NAMESIZE 32\n" |
| 821 |
"#define UT_HOSTSIZE 256\n" |
| 822 |
"\\&\n" |
| 823 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 824 |
" short e_termination; /* Process termination status */\n" |
| 825 |
" short e_exit; /* Process exit status */\n" |
| 826 |
"};\n" |
| 827 |
"\\&\n" |
| 828 |
"struct utmp {\n" |
| 829 |
" short ut_type; /* Type of record */\n" |
| 830 |
" pid_t ut_pid; /* PID of login process */\n" |
| 831 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 832 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 833 |
" or inittab(5) ID */\n" |
| 834 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 835 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 836 |
" kernel version for run-level\n" |
| 837 |
" messages */\n" |
| 838 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 839 |
" marked as DEAD_PROCESS; not\n" |
| 840 |
" used by Linux init(1) */\n" |
| 841 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 842 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 843 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 844 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 845 |
" int32_t ut_session; /* Session ID (B<getsid>(2)),\n" |
| 846 |
" used for windowing */\n" |
| 847 |
" struct {\n" |
| 848 |
" int32_t tv_sec; /* Seconds */\n" |
| 849 |
" int32_t tv_usec; /* Microseconds */\n" |
| 850 |
" } ut_tv; /* Time entry was made */\n" |
| 851 |
"#else\n" |
| 852 |
" long ut_session; /* Session ID */\n" |
| 853 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 854 |
"#endif\n" |
| 855 |
"\\&\n" |
| 856 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 857 |
" host; IPv4 address uses\n" |
| 858 |
" just ut_addr_v6[0] */\n" |
| 859 |
" char __unused[20]; /* Reserved for future use */\n" |
| 860 |
"};\n" |
| 861 |
"\\&\n" |
| 862 |
"/* Backward compatibility hacks */\n" |
| 863 |
"#define ut_name ut_user\n" |
| 864 |
"#ifndef _NO_UT_TIME\n" |
| 865 |
"#define ut_time ut_tv.tv_sec\n" |
| 866 |
"#endif\n" |
| 867 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 868 |
"#define ut_addr ut_addr_v6[0]\n" |
| 869 |
msgstr "" |
| 870 |
"struct utmp {\n" |
| 871 |
" short ut_type; /* тип записи */\n" |
| 872 |
" pid_t ut_pid; /* PID процесса входа в систему */\n" |
| 873 |
" char ut_line[UT_LINESIZE]; /* имя устройства tty - \"/dev/\" */\n" |
| 874 |
" char ut_id[4]; /* суффикс имени терминала\n" |
| 875 |
" или inittab(5) ID */\n" |
| 876 |
" char ut_user[UT_NAMESIZE]; /* имя пользователя */\n" |
| 877 |
" char ut_host[UT_HOSTSIZE]; /* имя узла при удалённом входе или\n" |
| 878 |
" версия ядра для сообщений\n" |
| 879 |
" уровня выполнения */\n" |
| 880 |
" struct exit_status ut_exit; /* код выхода процесса,\n" |
| 881 |
" помеченного как DEAD_PROCESS; не\n" |
| 882 |
" используется Linux init(1) */\n" |
| 883 |
" /* Поля ut_session и ut_tv должны быть одинакового размера и при\n" |
| 884 |
" 32- и при 64-битной компиляции. Это позволяет использовать файлы\n" |
| 885 |
" данных и память одновременно и в 32- и в 64-битных приложениях. */\n" |
| 886 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 887 |
" int32_t ut_session; /* ID сеанса (B<getsid>(2)),\n" |
| 888 |
" используемый при работе с окнами */\n" |
| 889 |
" struct {\n" |
| 890 |
" int32_t tv_sec; /* секунды */\n" |
| 891 |
" int32_t tv_usec; /* микросекунды */\n" |
| 892 |
" } ut_tv; /* время создания элемента */\n" |
| 893 |
"#else\n" |
| 894 |
" long ut_session; /* ID сеанса */\n" |
| 895 |
" struct timeval ut_tv; /* время создания элемента */\n" |
| 896 |
"#endif\n" |
| 897 |
|
| 898 |
#. type: Plain text |
| 899 |
#: debian-trixie fedora-44 fedora-rawhide |
| 900 |
msgid "" |
| 901 |
"Note that on I<biarch> platforms, that is, systems which can run both 32-bit " |
| 902 |
"and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same " |
| 903 |
"size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and " |
| 904 |
"I<ut_time> if they are present. This allows data files and shared memory to " |
| 905 |
"be shared between 32-bit and 64-bit applications. This is achieved by " |
| 906 |
"changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a " |
| 907 |
"struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> " |
| 908 |
"may not be the same as I<struct timeval>, then instead of the call:" |
| 909 |
msgstr "" |
| 910 |
"Заметим, что на I<двуархитектурных> платформах, то есть системах, которые " |
| 911 |
"позволяют запускать сразу 32- и 64-битные приложения (x86-64, ppc64, s390x и " |
| 912 |
"т.д.), поле I<ut_tv> имеет одинаковый размер в 32- и 64-битном режиме. Это " |
| 913 |
"же относится к I<ut_session> и I<ut_time>, если они есть. Это позволяет " |
| 914 |
"использовать файлы данных и память одновременно и в 32- и в 64-битных " |
| 915 |
"приложениях. Данная возможность достигается сменой типа I<ut_session> на " |
| 916 |
"I<int32_t> и I<ut_tv> на структуру с двумя полями I<int32_t> \\(em I<tv_sec> " |
| 917 |
"и I<tv_usec>. Так как I<ut_tv> не может быть одинакова с I<struct timeval>, " |
| 918 |
"то вместо вызова:" |
| 919 |
|
| 920 |
#. type: TH |
| 921 |
#: fedora-44 fedora-rawhide |
| 922 |
#, no-wrap |
| 923 |
msgid "2024-09-01" |
| 924 |
msgstr "1 сентября 2024 г." |
| 925 |
|
| 926 |
#. type: TH |
| 927 |
#: fedora-44 fedora-rawhide |
| 928 |
#, no-wrap |
| 929 |
msgid "Linux man-pages 6.13" |
| 930 |
msgstr "Страницы руководства Linux 6.13" |
| 931 |
|
| 932 |
#. type: Plain text |
| 933 |
#: fedora-44 fedora-rawhide |
| 934 |
#, fuzzy, no-wrap |
| 935 |
#| msgid "" |
| 936 |
#| "struct utmp {\n" |
| 937 |
#| " short ut_type; /* Type of record */\n" |
| 938 |
#| " pid_t ut_pid; /* PID of login process */\n" |
| 939 |
#| " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 940 |
#| " char ut_id[4]; /* Terminal name suffix,\n" |
| 941 |
#| " or inittab(5) ID */\n" |
| 942 |
#| " char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 943 |
#| " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 944 |
#| " kernel version for run-level\n" |
| 945 |
#| " messages */\n" |
| 946 |
#| " struct exit_status ut_exit; /* Exit status of a process\n" |
| 947 |
#| " marked as DEAD_PROCESS; not\n" |
| 948 |
#| " used by Linux init(1) */\n" |
| 949 |
#| " /* The ut_session and ut_tv fields must be the same size when\n" |
| 950 |
#| " compiled 32- and 64-bit. This allows data files and shared\n" |
| 951 |
#| " memory to be shared between 32- and 64-bit applications. */\n" |
| 952 |
#| "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 953 |
#| " int32_t ut_session; /* Session ID (B<getsid>(2)),\n" |
| 954 |
#| " used for windowing */\n" |
| 955 |
#| " struct {\n" |
| 956 |
#| " int32_t tv_sec; /* Seconds */\n" |
| 957 |
#| " int32_t tv_usec; /* Microseconds */\n" |
| 958 |
#| " } ut_tv; /* Time entry was made */\n" |
| 959 |
#| "#else\n" |
| 960 |
#| " long ut_session; /* Session ID */\n" |
| 961 |
#| " struct timeval ut_tv; /* Time entry was made */\n" |
| 962 |
#| "#endif\n" |
| 963 |
msgid "" |
| 964 |
"/* Values for ut_type field, below */\n" |
| 965 |
"\\&\n" |
| 966 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 967 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 968 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 969 |
" B<init>(1))\\ \n" |
| 970 |
"*/\n" |
| 971 |
"#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n" |
| 972 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 973 |
" (in I<ut_tv>) */\n" |
| 974 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 975 |
" (in I<ut_tv>) */\n" |
| 976 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n" |
| 977 |
"*/\n" |
| 978 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 979 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 980 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 981 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 982 |
"\\&\n" |
| 983 |
"#define UT_LINESIZE 32\n" |
| 984 |
"#define UT_NAMESIZE 32\n" |
| 985 |
"#define UT_HOSTSIZE 256\n" |
| 986 |
"\\&\n" |
| 987 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 988 |
" short e_termination; /* Process termination status */\n" |
| 989 |
" short e_exit; /* Process exit status */\n" |
| 990 |
"};\n" |
| 991 |
"\\&\n" |
| 992 |
"struct utmp {\n" |
| 993 |
" short ut_type; /* Type of record */\n" |
| 994 |
" pid_t ut_pid; /* PID of login process */\n" |
| 995 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 996 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 997 |
" or inittab(5) ID */\n" |
| 998 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 999 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 1000 |
" kernel version for run-level\n" |
| 1001 |
" messages */\n" |
| 1002 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 1003 |
" marked as DEAD_PROCESS; not\n" |
| 1004 |
" used by Linux B<init>(1)\\ \n" |
| 1005 |
"*/\n" |
| 1006 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 1007 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 1008 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 1009 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 1010 |
" int32_t ut_session; /* Session ID (\n" |
| 1011 |
"B<getsid>(2)B<),>\n" |
| 1012 |
" used for windowing */\n" |
| 1013 |
" struct {\n" |
| 1014 |
" int32_t tv_sec; /* Seconds */\n" |
| 1015 |
" int32_t tv_usec; /* Microseconds */\n" |
| 1016 |
" } ut_tv; /* Time entry was made */\n" |
| 1017 |
"#else\n" |
| 1018 |
" long ut_session; /* Session ID */\n" |
| 1019 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 1020 |
"#endif\n" |
| 1021 |
"\\&\n" |
| 1022 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 1023 |
" host; IPv4 address uses\n" |
| 1024 |
" just ut_addr_v6[0] */\n" |
| 1025 |
" char __unused[20]; /* Reserved for future use */\n" |
| 1026 |
"};\n" |
| 1027 |
"\\&\n" |
| 1028 |
"/* Backward compatibility hacks */\n" |
| 1029 |
"#define ut_name ut_user\n" |
| 1030 |
"#ifndef _NO_UT_TIME\n" |
| 1031 |
"#define ut_time ut_tv.tv_sec\n" |
| 1032 |
"#endif\n" |
| 1033 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 1034 |
"#define ut_addr ut_addr_v6[0]\n" |
| 1035 |
msgstr "" |
| 1036 |
"struct utmp {\n" |
| 1037 |
" short ut_type; /* тип записи */\n" |
| 1038 |
" pid_t ut_pid; /* PID процесса входа в систему */\n" |
| 1039 |
" char ut_line[UT_LINESIZE]; /* имя устройства tty - \"/dev/\" */\n" |
| 1040 |
" char ut_id[4]; /* суффикс имени терминала\n" |
| 1041 |
" или inittab(5) ID */\n" |
| 1042 |
" char ut_user[UT_NAMESIZE]; /* имя пользователя */\n" |
| 1043 |
" char ut_host[UT_HOSTSIZE]; /* имя узла при удалённом входе или\n" |
| 1044 |
" версия ядра для сообщений\n" |
| 1045 |
" уровня выполнения */\n" |
| 1046 |
" struct exit_status ut_exit; /* код выхода процесса,\n" |
| 1047 |
" помеченного как DEAD_PROCESS; не\n" |
| 1048 |
" используется Linux init(1) */\n" |
| 1049 |
" /* Поля ut_session и ut_tv должны быть одинакового размера и при\n" |
| 1050 |
" 32- и при 64-битной компиляции. Это позволяет использовать файлы\n" |
| 1051 |
" данных и память одновременно и в 32- и в 64-битных приложениях. */\n" |
| 1052 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 1053 |
" int32_t ut_session; /* ID сеанса (B<getsid>(2)),\n" |
| 1054 |
" используемый при работе с окнами */\n" |
| 1055 |
" struct {\n" |
| 1056 |
" int32_t tv_sec; /* секунды */\n" |
| 1057 |
" int32_t tv_usec; /* микросекунды */\n" |
| 1058 |
" } ut_tv; /* время создания элемента */\n" |
| 1059 |
"#else\n" |
| 1060 |
" long ut_session; /* ID сеанса */\n" |
| 1061 |
" struct timeval ut_tv; /* время создания элемента */\n" |
| 1062 |
"#endif\n" |
| 1063 |
|
| 1064 |
#. type: TH |
| 1065 |
#: mageia-cauldron |
| 1066 |
#, no-wrap |
| 1067 |
msgid "Linux man-pages 6.17" |
| 1068 |
msgstr "Страницы руководства Linux 6.17" |
| 1069 |
|
| 1070 |
#. type: TH |
| 1071 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
#, no-wrap |
| 1073 |
msgid "Linux man-pages (unreleased)" |
| 1074 |
msgstr "Страницы руководства Linux (не выпущены)" |