| 1 |
# Brazilian Portuguese translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# André Luiz Fassone <[email protected]>, 2000. |
| 5 |
# Carlos Augusto Horylka <[email protected]>, 2000. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 10 |
"PO-Revision-Date: 2000-05-31 17:26+0200\n" |
| 11 |
"Last-Translator: Carlos Augusto Horylka <[email protected]>\n" |
| 12 |
"Language-Team: Brazilian Portuguese <debian-l10n-" |
| 13 |
"[email protected]>\n" |
| 14 |
"Language: pt_BR\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 19 |
"X-Generator: Lokalize 20.04.1\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, no-wrap |
| 25 |
msgid "utmp" |
| 26 |
msgstr "utmp" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2025-09-21" |
| 33 |
msgstr "21 setembro 2025" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, fuzzy, no-wrap |
| 38 |
#| msgid "Linux man-pages 6.17" |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.17" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NOME" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "utmp, wtmp - login records" |
| 53 |
msgstr "utmp, wtmp - registro de login" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "SYNOPSIS" |
| 60 |
msgstr "SINOPSE" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
#, no-wrap |
| 66 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 67 |
msgstr "B<#include E<lt>utmp.hE<gt>>\n" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "DESCRIPTION" |
| 74 |
msgstr "DESCRIÇÃO" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
msgid "" |
| 80 |
"The I<utmp> file allows one to discover information about who is currently " |
| 81 |
"using the system. There may be more users currently using the system, " |
| 82 |
"because not all programs use utmp logging." |
| 83 |
msgstr "" |
| 84 |
"O arquivo I<utmp> permite a descoberta de informações sobre quem está usando " |
| 85 |
"o sistema atualmente. Pode ser que exista mais de um usuário usando o " |
| 86 |
"sistema, por que nem todos programas usam o registro utmp." |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, fuzzy |
| 92 |
#| msgid "" |
| 93 |
#| "B<Warning:> B<utmp> must not be writable, because many system programs " |
| 94 |
#| "(foolishly) depend on its integrity. You risk faked system logfiles and " |
| 95 |
#| "modifications of system files if you leave B<utmp> writable to any user." |
| 96 |
msgid "" |
| 97 |
"B<Warning:> I<utmp> must not be writable by the user class \"other\", " |
| 98 |
"because many system programs (foolishly) depend on its integrity. You risk " |
| 99 |
"faked system logfiles and modifications of system files if you leave I<utmp> " |
| 100 |
"writable to any user other than the owner and group owner of the file." |
| 101 |
msgstr "" |
| 102 |
"B<Advertência:> B<utmp> não deve ter autorização para escrita, porque muitos " |
| 103 |
"programas de sistema (imprudentemente) dependem desta intergridade. Você " |
| 104 |
"arrisca falsificar os arquivos de 'log' do sistema e modificações dos " |
| 105 |
"arquivos de sistema se você autorizar a escrita em B<utmp> para qualquer " |
| 106 |
"usuário." |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
#, fuzzy |
| 112 |
#| msgid "" |
| 113 |
#| "The file is a sequence of entries with the following structure declared " |
| 114 |
#| "in the include file (note that this is only one of several definitions " |
| 115 |
#| "around; details depend on the version of libc):" |
| 116 |
msgid "" |
| 117 |
"The file is a sequence of I<utmp> structures, declared as follows in " |
| 118 |
"I<E<lt>utmp.hE<gt>> (note that this is only one of several definitions " |
| 119 |
"around; details depend on the version of libc):" |
| 120 |
msgstr "" |
| 121 |
"O arquivo é um sequência de entrada com a seguinte estrutura declarada no " |
| 122 |
"arquivo 'include' (note que isto é somente uma de várias definições sobre; " |
| 123 |
"detalhes depende da versão da libc):" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 127 |
#: opensuse-tumbleweed |
| 128 |
#, no-wrap |
| 129 |
msgid "" |
| 130 |
"/* Values for ut_type field, below */\n" |
| 131 |
"\\&\n" |
| 132 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 133 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 134 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 135 |
" B<init>(1))\\ \n" |
| 136 |
"*/\n" |
| 137 |
"#define BOOT_TIME 2 /* Time of system boot (in \\f[I]ut_tv\\fR) */\n" |
| 138 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 139 |
" (in \\f[I]ut_tv\\fR) */\n" |
| 140 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 141 |
" (in \\f[I]ut_tv\\fR) */\n" |
| 142 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n" |
| 143 |
"*/\n" |
| 144 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 145 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 146 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 147 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 148 |
"\\&\n" |
| 149 |
"#define UT_LINESIZE 32\n" |
| 150 |
"#define UT_NAMESIZE 32\n" |
| 151 |
"#define UT_HOSTSIZE 256\n" |
| 152 |
"\\&\n" |
| 153 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 154 |
" short e_termination; /* Process termination status */\n" |
| 155 |
" short e_exit; /* Process exit status */\n" |
| 156 |
"};\n" |
| 157 |
"\\&\n" |
| 158 |
"struct utmp {\n" |
| 159 |
" short ut_type; /* Type of record */\n" |
| 160 |
" pid_t ut_pid; /* PID of login process */\n" |
| 161 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 162 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 163 |
" or inittab(5) ID */\n" |
| 164 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 165 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 166 |
" kernel version for run-level\n" |
| 167 |
" messages */\n" |
| 168 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 169 |
" marked as DEAD_PROCESS; not\n" |
| 170 |
" used by Linux B<init>(1)\\ \n" |
| 171 |
"*/\n" |
| 172 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 173 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 174 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 175 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 176 |
" int32_t ut_session; /* Session ID (\n" |
| 177 |
"B<getsid>(2)),\n" |
| 178 |
" used for windowing */\n" |
| 179 |
" struct {\n" |
| 180 |
" int32_t tv_sec; /* Seconds */\n" |
| 181 |
" int32_t tv_usec; /* Microseconds */\n" |
| 182 |
" } ut_tv; /* Time entry was made */\n" |
| 183 |
"#else\n" |
| 184 |
" long ut_session; /* Session ID */\n" |
| 185 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 186 |
"#endif\n" |
| 187 |
"\\&\n" |
| 188 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 189 |
" host; IPv4 address uses\n" |
| 190 |
" just ut_addr_v6[0] */\n" |
| 191 |
" char __unused[20]; /* Reserved for future use */\n" |
| 192 |
"};\n" |
| 193 |
"\\&\n" |
| 194 |
"/* Backward compatibility hacks */\n" |
| 195 |
"#define ut_name ut_user\n" |
| 196 |
"#ifndef _NO_UT_TIME\n" |
| 197 |
"#define ut_time ut_tv.tv_sec\n" |
| 198 |
"#endif\n" |
| 199 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 200 |
"#define ut_addr ut_addr_v6[0]\n" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
#, fuzzy |
| 207 |
#| msgid "" |
| 208 |
#| "This structure gives the name of the special file associated with the " |
| 209 |
#| "user's terminal, the user's login name, and the time of login in the form " |
| 210 |
#| "of B<time>(2). String fields are terminated by B<'\\e0'> if they are " |
| 211 |
#| "shorter than the size of the field." |
| 212 |
msgid "" |
| 213 |
"This structure gives the name of the special file associated with the user's " |
| 214 |
"terminal, the user's login name, and the time of login in the form of " |
| 215 |
"B<time>(2). String fields are terminated by a null byte (\\[aq]\\[rs]0\\" |
| 216 |
"[aq]) if they are shorter than the size of the field." |
| 217 |
msgstr "" |
| 218 |
"Esta estrutura fornece o nome do arquivo especial associado com o terminal " |
| 219 |
"do usuário, o nome de 'login' do usuário, e a hora de 'login' na forma de " |
| 220 |
"I<time>(2). Campos de cadeia de caracteres são terminado por B<'\\e0'> se " |
| 221 |
"eles forem mais curtos que o tamanho do campo." |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
#, fuzzy |
| 227 |
#| msgid "" |
| 228 |
#| "The first entries ever created result from I<init>(8) processing " |
| 229 |
#| "I<inittab>(5). Before an entry is processed, though, I<init>(8) cleans " |
| 230 |
#| "up utmp by setting B<ut_type> to B<DEAD_PROCESS>, clearing B<ut_user>, " |
| 231 |
#| "B<ut_host> and B<ut_time> with null bytes for each record which " |
| 232 |
#| "B<ut_type> is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with " |
| 233 |
#| "PID B<ut_pid> exists. If no empty record with the needed B<ut_id> can be " |
| 234 |
#| "found, init creates a new one. It sets B<ut_id> from the inittab, " |
| 235 |
#| "B<ut_pid> and B<ut_time> to the current values and B<ut_type> to " |
| 236 |
#| "B<INIT_PROCESS>." |
| 237 |
msgid "" |
| 238 |
"The first entries ever created result from B<init>(1) processing " |
| 239 |
"B<inittab>(5). Before an entry is processed, though, B<init>(1) cleans up " |
| 240 |
"utmp by setting I<ut_type> to B<DEAD_PROCESS>, clearing I<ut_user>, " |
| 241 |
"I<ut_host>, and I<ut_time> with null bytes for each record which I<ut_type> " |
| 242 |
"is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with PID I<ut_pid> " |
| 243 |
"exists. If no empty record with the needed I<ut_id> can be found, " |
| 244 |
"B<init>(1) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> " |
| 245 |
"and I<ut_time> to the current values, and I<ut_type> to B<INIT_PROCESS>." |
| 246 |
msgstr "" |
| 247 |
"A primeira entrada sempre criada resulta do processamento de I<init>(8) em " |
| 248 |
"I<inittab>(5). Antes uma entrada é processada, de qualquer forma, I<init>(8) " |
| 249 |
"coloca em ordem utmp pela colocação de B<ut_type> para B<DEAD_PROCESS>, " |
| 250 |
"liquidando B<ut_user>, B<ut_host> e B<ut_time> com bytes nulos para cada " |
| 251 |
"registro no qual B<ut_type> não é B<DEAD_PROCESS> ou B<RUN_LVL> e onde não " |
| 252 |
"existe processo com PID B<ut_pid>. Se registros não vazios com o necessário " |
| 253 |
"B<ut_id> podem se encontrados, init cria um novo. Ele seleciona B<ut_id> a " |
| 254 |
"partir de inittab, B<ut_pid> e B<ut_time> para valores atuais e B<ut_type> " |
| 255 |
"para B<INIT_PROCESS>." |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
#, fuzzy |
| 261 |
#| msgid "" |
| 262 |
#| "I<getty>(8) locates the entry by the pid, changes B<ut_type> to " |
| 263 |
#| "B<LOGIN_PROCESS>, changes B<ut_time>, sets B<ut_line> and waits for " |
| 264 |
#| "connection to be established. I<login>(8), after a user has been " |
| 265 |
#| "authenticated, changes B<ut_type> to B<USER_PROCESS>, changes B<ut_time> " |
| 266 |
#| "and sets B<ut_host> and B<ut_addr>. Depending on I<getty>(8) and " |
| 267 |
#| "I<login>(8), records may be located by B<ut_line> instead of the " |
| 268 |
#| "preferable B<ut_pid>." |
| 269 |
msgid "" |
| 270 |
"B<mingetty>(8) (or B<agetty>(8)) locates the entry by the PID, changes " |
| 271 |
"I<ut_type> to B<LOGIN_PROCESS>, changes I<ut_time>, sets I<ut_line>, and " |
| 272 |
"waits for connection to be established. B<login>(1), after a user has been " |
| 273 |
"authenticated, changes I<ut_type> to B<USER_PROCESS>, changes I<ut_time>, " |
| 274 |
"and sets I<ut_host> and I<ut_addr>. Depending on B<mingetty>(8) (or " |
| 275 |
"B<agetty>(8)) and B<login>(1), records may be located by I<ut_line> instead " |
| 276 |
"of the preferable I<ut_pid>." |
| 277 |
msgstr "" |
| 278 |
"I<getty>(8) localiza a entrada pelo pid, alterando B<ut_type> para " |
| 279 |
"B<LOGIN_PROCESS>, alterando B<ut_time>, ajustando B<ut_line> e aguardando " |
| 280 |
"que a conexão possa ser estabelecida. I<login>(8), depois que um usuário é " |
| 281 |
"autenticado, alteração de B<ut_type> para B<USER_PROCESS>, alteração de " |
| 282 |
"B<ut_time> e ajustando B<ut_host> e B<ut_addr>. Dependendo de I<getty>(8) e " |
| 283 |
"I<login>(8), registros pode ser localizados por B<ut_line> ao invez do " |
| 284 |
"preferido B<ut_pid>." |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, fuzzy |
| 290 |
#| msgid "" |
| 291 |
#| "When I<init>(8) finds that a process has exited, it locates its utmp " |
| 292 |
#| "entry by B<ut_pid>, sets B<ut_type> to B<DEAD_PROCESS> and clears " |
| 293 |
#| "B<ut_user>, B<ut_host> and B<ut_time> with null bytes." |
| 294 |
msgid "" |
| 295 |
"When B<init>(1) finds that a process has exited, it locates its utmp entry " |
| 296 |
"by I<ut_pid>, sets I<ut_type> to B<DEAD_PROCESS>, and clears I<ut_user>, " |
| 297 |
"I<ut_host>, and I<ut_time> with null bytes." |
| 298 |
msgstr "" |
| 299 |
"Quando I<init>(8) encontra um processo que já terminou, ele localiza a " |
| 300 |
"entrada dele em utmp por B<ut_pid>, ajusta B<ut_type> para B<DEAD_PROCESS> e " |
| 301 |
"limpa B<ut_user>, B<ut_host> e B<ut_time> com bytes nulos." |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, fuzzy |
| 307 |
#| msgid "" |
| 308 |
#| "I<xterm>(1) and other terminal emulators directly create a " |
| 309 |
#| "B<USER_PROCESS> record and generate the B<ut_id> by using the last two " |
| 310 |
#| "letters of B</dev/ttyp>I<%c> or by using B<p>I<%d> for B</dev/pts/" |
| 311 |
#| ">I<%d>. If they find a B<DEAD_PROCESS> for this id, they recycle it, " |
| 312 |
#| "otherwise they create a new entry. If they can, they will mark it as " |
| 313 |
#| "B<DEAD_PROCESS> on exiting and it is advised that they null B<ut_line>, " |
| 314 |
#| "B<ut_time>, B<ut_user> and B<ut_host> as well." |
| 315 |
msgid "" |
| 316 |
"B<xterm>(1) and other terminal emulators directly create a B<USER_PROCESS> " |
| 317 |
"record and generate the I<ut_id> by using the string that suffix part of the " |
| 318 |
"terminal name (the characters following I</dev/>[pt]I<ty>). If they find a " |
| 319 |
"B<DEAD_PROCESS> for this ID, they recycle it, otherwise they create a new " |
| 320 |
"entry. If they can, they will mark it as B<DEAD_PROCESS> on exiting and it " |
| 321 |
"is advised that they null I<ut_line>, I<ut_time>, I<ut_user>, and I<ut_host> " |
| 322 |
"as well." |
| 323 |
msgstr "" |
| 324 |
"I<xterm>(1) e outros emuladores de terminal criam diretamente um registro " |
| 325 |
"B<USER_PROCESS> e geram o B<ut_id> pelo uso das duas últimas letras de B</" |
| 326 |
"dev/ttyp>I<%c> ou pelo uso de B<p>I<%d> para B</dev/pts/>I<%d>. Se eles " |
| 327 |
"acham um B<DEAD_PROCESS> para esta id, eles reutilizam esta, de outra forma " |
| 328 |
"eles criam uma nova entrada. Se eles puderem, eles irão marcar isto como " |
| 329 |
"B<DEAD_PROCESS> na saída e isto é avisado que são nulos B<ut_line>, " |
| 330 |
"B<ut_time>, B<ut_user> e B<ut_host> também." |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "" |
| 336 |
"B<telnetd>(8) sets up a B<LOGIN_PROCESS> entry and leaves the rest to " |
| 337 |
"B<login>(1) as usual. After the telnet session ends, B<telnetd>(8) cleans " |
| 338 |
"up utmp in the described way." |
| 339 |
msgstr "" |
| 340 |
"B<telnetd>(8) ajusta para B<LOGIN_PROCESS> entrada e deixa o resto para " |
| 341 |
"B<login>(1) como usual. Depois que terminar a seção telnet, B<telnetd>(8) " |
| 342 |
"limpa utmp na forma descrita." |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, fuzzy |
| 348 |
#| msgid "" |
| 349 |
#| "The B<wtmp> file records all logins and logouts. Its format is exactly " |
| 350 |
#| "like B<utmp> except that a null user name indicates a logout on the " |
| 351 |
#| "associated terminal. Furthermore, the terminal name B<\"~\"> with user " |
| 352 |
#| "name B<\"shutdown\"> or B<\"reboot\"> indicates a system shutdown or " |
| 353 |
#| "reboot and the pair of terminal names B<\"|\">/B<\"}\"> logs the old/new " |
| 354 |
#| "system time when I<date>(1) changes it. B<wtmp> is maintained by " |
| 355 |
#| "I<login>(1), and I<init>(1) and some versions of I<getty>(1). Neither of " |
| 356 |
#| "these programs creates the file, so if it is removed record-keeping is " |
| 357 |
#| "turned off." |
| 358 |
msgid "" |
| 359 |
"The I<wtmp> file records all logins and logouts. Its format is exactly like " |
| 360 |
"I<utmp> except that a null username indicates a logout on the associated " |
| 361 |
"terminal. Furthermore, the terminal name B<\\[ti]> with username " |
| 362 |
"B<shutdown> or B<reboot> indicates a system shutdown or reboot and the pair " |
| 363 |
"of terminal names B<|>/B<}> logs the old/new system time when B<date>(1) " |
| 364 |
"changes it. I<wtmp> is maintained by B<login>(1), B<init>(1), and some " |
| 365 |
"versions of B<getty>(8) (e.g., B<mingetty>(8) or B<agetty>(8)). None of " |
| 366 |
"these programs creates the file, so if it is removed, record-keeping is " |
| 367 |
"turned off." |
| 368 |
msgstr "" |
| 369 |
"O campo B<wtmp> registra todos os 'logins' e 'logouts'. O formato dele é " |
| 370 |
"exatamente como B<utmp> exceto que um nome de usuário nulo indica um " |
| 371 |
"'logout' no terminal associado. Além do mais, o nome do termina; B<\"~\"> " |
| 372 |
"com o nome do ususário B<\"shutdown\"> ou B<\"reboot\"> indicam um sistema " |
| 373 |
"em desligamento ou em reinicialização e o par de nomes de terminal B<\"|\">/" |
| 374 |
"B<\"}\">registram o velho/novo tempo de sistema quando a I<data>(1) é " |
| 375 |
"alterada. B<wtmp> é mantido por I<login>(1), e I<init>(1) e algumas versões " |
| 376 |
"de I<getty>(1). Nenhum do dois programas criam o arquivo, assim se ele é " |
| 377 |
"removido o registro é desligado." |
| 378 |
|
| 379 |
#. type: SH |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, no-wrap |
| 383 |
msgid "FILES" |
| 384 |
msgstr "ARQUIVOS" |
| 385 |
|
| 386 |
#. type: Plain text |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
msgid "I</var/run/utmp>" |
| 390 |
msgstr "I</var/run/utmp>" |
| 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 "I</var/log/wtmp>" |
| 396 |
msgstr "I</var/log/wtmp>" |
| 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 "VERSIONS" |
| 403 |
msgstr "VERSÕES" |
| 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 "" |
| 409 |
"POSIX.1 does not specify a I<utmp> structure, but rather one named I<utmpx> " |
| 410 |
"(as part of the XSI extension), with specifications for the fields " |
| 411 |
"I<ut_type>, I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user>, and I<ut_tv>. " |
| 412 |
"POSIX.1 does not specify the lengths of the I<ut_line> and I<ut_user> fields." |
| 413 |
msgstr "" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
msgid "" |
| 419 |
"Linux defines the I<utmpx> structure to be the same as the I<utmp> structure." |
| 420 |
msgstr "" |
| 421 |
|
| 422 |
#. type: SH |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "STANDARDS" |
| 427 |
msgstr "PADRÕES" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
msgid "Linux." |
| 433 |
msgstr "Linux." |
| 434 |
|
| 435 |
#. type: SH |
| 436 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 437 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
#, no-wrap |
| 439 |
msgid "HISTORY" |
| 440 |
msgstr "HISTÓRICO" |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "" |
| 446 |
"Linux utmp entries conform neither to v7/BSD nor to System V; they are a mix " |
| 447 |
"of the two." |
| 448 |
msgstr "" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "" |
| 454 |
"v7/BSD has fewer fields; most importantly it lacks I<ut_type>, which causes " |
| 455 |
"native v7/BSD-like programs to display (for example) dead or login entries. " |
| 456 |
"Further, there is no configuration file which allocates slots to sessions. " |
| 457 |
"BSD does so because it lacks I<ut_id> fields." |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
#, fuzzy |
| 464 |
#| msgid "" |
| 465 |
#| "Linux utmp entries conform neither to v7/BSD nor to SYSV: They are a mix " |
| 466 |
#| "of the two. v7/BSD has fewer fields; most importantly it lacks " |
| 467 |
#| "B<ut_type>, which causes native v7/BSD-like programs to display (for " |
| 468 |
#| "example) dead or login entries. Further there is no configuration file " |
| 469 |
#| "which allocates slots to sessions. BSD does so, because it lacks " |
| 470 |
#| "B<ut_id> fields. In Linux (as in SYSV), the B<ut_id> field of a record " |
| 471 |
#| "will never change once it has been set, which reserves that slot without " |
| 472 |
#| "needing a configuration file. Clearing B<ut_id> may result in race " |
| 473 |
#| "conditions leading to corrupted utmp entries and and potential security " |
| 474 |
#| "holes. Clearing the above mentioned fields by filling them with null " |
| 475 |
#| "bytes is not required by SYSV semantics, but it allows to run many " |
| 476 |
#| "programs which assume BSD semantics and which do not modify utmp. Linux " |
| 477 |
#| "uses the BSD conventions for line contents, as documented above." |
| 478 |
msgid "" |
| 479 |
"In Linux (as in System V), the I<ut_id> field of a record will never change " |
| 480 |
"once it has been set, which reserves that slot without needing a " |
| 481 |
"configuration file. Clearing I<ut_id> may result in race conditions leading " |
| 482 |
"to corrupted utmp entries and potential security holes. Clearing the " |
| 483 |
"abovementioned fields by filling them with null bytes is not required by " |
| 484 |
"System V semantics, but makes it possible to run many programs which assume " |
| 485 |
"BSD semantics and which do not modify utmp. Linux uses the BSD conventions " |
| 486 |
"for line contents, as documented above." |
| 487 |
msgstr "" |
| 488 |
"As entradas utmp não estão de acordo com a v7/BSD e nem com SYSV: Elas são " |
| 489 |
"uma mistura das duas. v7/BSD tem poucos campos; o mais importante ele " |
| 490 |
"caresce de B<ut_type>, no qual processos nativos v7/BSD como programas para " |
| 491 |
"exibir (por exemplo) entrada 'dead' ou 'login'. Além disto não havia um " |
| 492 |
"arquivo de configuração na qual determina 'slots' para a sessão. BSD faz " |
| 493 |
"assim, porque ele caresce dos campos B<ut_id>. No Linux (como no SYSV), o " |
| 494 |
"campo B<ut_id> de um registro nunca deverá ser alterado, o qual preserva " |
| 495 |
"registros 'slot' sem a necessidade de um arquivo de configuração. Limpado " |
| 496 |
"B<ut_id> pode resultar na saída de condições dominantes para as entradas " |
| 497 |
"utmp corrompidas e possíveis furos de segurança. Limpar os campos " |
| 498 |
"mencionados acima com bytes nulo não segue a semantica SYSV, mas ele permite " |
| 499 |
"executar muitos programas que assumem a semântica do BSD e cada qual não " |
| 500 |
"modifica utmp. Linux usa as convenções BSD para linha de conteúdo, como " |
| 501 |
"documentado." |
| 502 |
|
| 503 |
#. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 504 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 505 |
#. System V only uses the type field to mark them and logs |
| 506 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 507 |
#. type: Plain text |
| 508 |
#. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 509 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 510 |
#. System V only uses the type field to mark them and logs |
| 511 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 512 |
#. type: Plain text |
| 513 |
#. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 514 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 515 |
#. System V only uses the type field to mark them and logs |
| 516 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 517 |
#. type: Plain text |
| 518 |
#. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 519 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 520 |
#. System V only uses the type field to mark them and logs |
| 521 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 522 |
#. type: Plain text |
| 523 |
#. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 524 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 525 |
#. System V only uses the type field to mark them and logs |
| 526 |
#. informative messages such as \fB"new time"\fP in the line field. |
| 527 |
#. type: Plain text |
| 528 |
#. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 529 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 530 |
#. System V only uses the type field to mark them and logs |
| 531 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 532 |
#. type: Plain text |
| 533 |
#. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 534 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 535 |
#. System V only uses the type field to mark them and logs |
| 536 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 537 |
#. type: Plain text |
| 538 |
#. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 539 |
#. mtk: What is the referrent of "them" in the following sentence? |
| 540 |
#. System V only uses the type field to mark them and logs |
| 541 |
#. informative messages such as \f[B]"new time"\f[] in the line field. |
| 542 |
#. type: Plain text |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
msgid "System V has no I<ut_host> or I<ut_addr_v6> fields." |
| 546 |
msgstr "" |
| 547 |
|
| 548 |
#. type: SH |
| 549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 551 |
#, no-wrap |
| 552 |
msgid "NOTES" |
| 553 |
msgstr "NOTAS" |
| 554 |
|
| 555 |
#. type: Plain text |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
msgid "" |
| 559 |
"Unlike various other systems, where utmp logging can be disabled by removing " |
| 560 |
"the file, utmp must always exist on Linux. If you want to disable " |
| 561 |
"B<who>(1), then do not make utmp world readable." |
| 562 |
msgstr "" |
| 563 |
"Diferente de vários outros sistemas, onde o 'logging' do utmp pode ser " |
| 564 |
"desativado pela remoção do arquivo, utmp sempre deve exister no Linux. Se " |
| 565 |
"você procurar desabilitar B<who>(1) então não faça a palavra utmp legivel." |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
msgid "" |
| 571 |
"The file format is machine-dependent, so it is recommended that it be " |
| 572 |
"processed only on the machine architecture where it was created." |
| 573 |
msgstr "" |
| 574 |
"O formato do arquivo é dependente da máquina, que seja recomendado que ele " |
| 575 |
"será processado somente na arquitetura da máquina onde foi criado." |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 579 |
#: opensuse-tumbleweed |
| 580 |
msgid "" |
| 581 |
"Note that on I<biarch> platforms, that is, systems which can run both 32-bit " |
| 582 |
"and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same " |
| 583 |
"size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and " |
| 584 |
"I<ut_time> if they are present. This allows data files and shared memory to " |
| 585 |
"be shared between 32-bit and 64-bit applications. This is achieved by " |
| 586 |
"changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a " |
| 587 |
"struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> " |
| 588 |
"may not be the same as I<struct\\ timeval>, then instead of the call:" |
| 589 |
msgstr "" |
| 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 |
#, no-wrap |
| 595 |
msgid "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n" |
| 596 |
msgstr "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
msgid "the following method of setting this field is recommended:" |
| 602 |
msgstr "" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, fuzzy, no-wrap |
| 608 |
#| msgid "" |
| 609 |
#| "gettimeofday(&tv, NULL);\n" |
| 610 |
#| "ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 611 |
#| "ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 612 |
msgid "" |
| 613 |
"struct utmp ut;\n" |
| 614 |
"struct timeval tv;\n" |
| 615 |
"\\&\n" |
| 616 |
"gettimeofday(&tv, NULL);\n" |
| 617 |
"ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 618 |
"ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 619 |
msgstr "" |
| 620 |
"gettimeofday(&tv, NULL);\n" |
| 621 |
"ut.ut_tv.tv_sec = tv.tv_sec;\n" |
| 622 |
"ut.ut_tv.tv_usec = tv.tv_usec;\n" |
| 623 |
|
| 624 |
#. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 625 |
#. .P |
| 626 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 627 |
#. Because of this, |
| 628 |
#. binaries using the old libc5 struct will corrupt |
| 629 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 630 |
#. .SH BUGS |
| 631 |
#. This man page is based on the libc5 one, things may work differently now. |
| 632 |
#. type: SH |
| 633 |
#. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 634 |
#. .P |
| 635 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 636 |
#. Because of this, |
| 637 |
#. binaries using the old libc5 struct will corrupt |
| 638 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 639 |
#. .SH BUGS |
| 640 |
#. This man page is based on the libc5 one, things may work differently now. |
| 641 |
#. type: SH |
| 642 |
#. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 643 |
#. .P |
| 644 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 645 |
#. Because of this, |
| 646 |
#. binaries using the old libc5 struct will corrupt |
| 647 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 648 |
#. .SH BUGS |
| 649 |
#. This man page is based on the libc5 one, things may work differently now. |
| 650 |
#. type: SH |
| 651 |
#. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 652 |
#. .P |
| 653 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 654 |
#. Because of this, |
| 655 |
#. binaries using the old libc5 struct will corrupt |
| 656 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 657 |
#. .SH BUGS |
| 658 |
#. This man page is based on the libc5 one, things may work differently now. |
| 659 |
#. type: SH |
| 660 |
#. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 661 |
#. .P |
| 662 |
#. Note that the \fIutmp\fP struct from libc5 has changed in libc6. |
| 663 |
#. Because of this, |
| 664 |
#. binaries using the old libc5 struct will corrupt |
| 665 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 666 |
#. .SH BUGS |
| 667 |
#. This man page is based on the libc5 one, things may work differently now. |
| 668 |
#. type: SH |
| 669 |
#. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 670 |
#. .P |
| 671 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 672 |
#. Because of this, |
| 673 |
#. binaries using the old libc5 struct will corrupt |
| 674 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 675 |
#. .SH BUGS |
| 676 |
#. This man page is based on the libc5 one, things may work differently now. |
| 677 |
#. type: SH |
| 678 |
#. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 679 |
#. .P |
| 680 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 681 |
#. Because of this, |
| 682 |
#. binaries using the old libc5 struct will corrupt |
| 683 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 684 |
#. .SH BUGS |
| 685 |
#. This man page is based on the libc5 one, things may work differently now. |
| 686 |
#. type: SH |
| 687 |
#. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-# |
| 688 |
#. .P |
| 689 |
#. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6. |
| 690 |
#. Because of this, |
| 691 |
#. binaries using the old libc5 struct will corrupt |
| 692 |
#. .IR /var/run/utmp " and/or " /var/log/wtmp . |
| 693 |
#. .SH BUGS |
| 694 |
#. This man page is based on the libc5 one, things may work differently now. |
| 695 |
#. type: SH |
| 696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
#, no-wrap |
| 699 |
msgid "SEE ALSO" |
| 700 |
msgstr "VEJA TAMBÉM" |
| 701 |
|
| 702 |
#. type: Plain text |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
msgid "" |
| 706 |
"B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), " |
| 707 |
"B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), " |
| 708 |
"B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)" |
| 709 |
msgstr "" |
| 710 |
"B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), " |
| 711 |
"B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), " |
| 712 |
"B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)" |
| 713 |
|
| 714 |
#. type: TH |
| 715 |
#: debian-trixie |
| 716 |
#, no-wrap |
| 717 |
msgid "2024-06-15" |
| 718 |
msgstr "15 junho 2024" |
| 719 |
|
| 720 |
#. type: TH |
| 721 |
#: debian-trixie |
| 722 |
#, no-wrap |
| 723 |
msgid "Linux man-pages 6.9.1" |
| 724 |
msgstr "Linux man-pages 6.9.1" |
| 725 |
|
| 726 |
#. type: Plain text |
| 727 |
#: debian-trixie |
| 728 |
#, no-wrap |
| 729 |
msgid "" |
| 730 |
"/* Values for ut_type field, below */\n" |
| 731 |
"\\&\n" |
| 732 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 733 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 734 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 735 |
" B<init>(1)) */\n" |
| 736 |
"#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n" |
| 737 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 738 |
" (in I<ut_tv>) */\n" |
| 739 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 740 |
" (in I<ut_tv>) */\n" |
| 741 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1) */\n" |
| 742 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 743 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 744 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 745 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 746 |
"\\&\n" |
| 747 |
"#define UT_LINESIZE 32\n" |
| 748 |
"#define UT_NAMESIZE 32\n" |
| 749 |
"#define UT_HOSTSIZE 256\n" |
| 750 |
"\\&\n" |
| 751 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 752 |
" short e_termination; /* Process termination status */\n" |
| 753 |
" short e_exit; /* Process exit status */\n" |
| 754 |
"};\n" |
| 755 |
"\\&\n" |
| 756 |
"struct utmp {\n" |
| 757 |
" short ut_type; /* Type of record */\n" |
| 758 |
" pid_t ut_pid; /* PID of login process */\n" |
| 759 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 760 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 761 |
" or inittab(5) ID */\n" |
| 762 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 763 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 764 |
" kernel version for run-level\n" |
| 765 |
" messages */\n" |
| 766 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 767 |
" marked as DEAD_PROCESS; not\n" |
| 768 |
" used by Linux init(1) */\n" |
| 769 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 770 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 771 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 772 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 773 |
" int32_t ut_session; /* Session ID (B<getsid>(2)),\n" |
| 774 |
" used for windowing */\n" |
| 775 |
" struct {\n" |
| 776 |
" int32_t tv_sec; /* Seconds */\n" |
| 777 |
" int32_t tv_usec; /* Microseconds */\n" |
| 778 |
" } ut_tv; /* Time entry was made */\n" |
| 779 |
"#else\n" |
| 780 |
" long ut_session; /* Session ID */\n" |
| 781 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 782 |
"#endif\n" |
| 783 |
"\\&\n" |
| 784 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 785 |
" host; IPv4 address uses\n" |
| 786 |
" just ut_addr_v6[0] */\n" |
| 787 |
" char __unused[20]; /* Reserved for future use */\n" |
| 788 |
"};\n" |
| 789 |
"\\&\n" |
| 790 |
"/* Backward compatibility hacks */\n" |
| 791 |
"#define ut_name ut_user\n" |
| 792 |
"#ifndef _NO_UT_TIME\n" |
| 793 |
"#define ut_time ut_tv.tv_sec\n" |
| 794 |
"#endif\n" |
| 795 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 796 |
"#define ut_addr ut_addr_v6[0]\n" |
| 797 |
msgstr "" |
| 798 |
|
| 799 |
#. type: Plain text |
| 800 |
#: debian-trixie fedora-44 fedora-rawhide |
| 801 |
msgid "" |
| 802 |
"Note that on I<biarch> platforms, that is, systems which can run both 32-bit " |
| 803 |
"and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same " |
| 804 |
"size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and " |
| 805 |
"I<ut_time> if they are present. This allows data files and shared memory to " |
| 806 |
"be shared between 32-bit and 64-bit applications. This is achieved by " |
| 807 |
"changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a " |
| 808 |
"struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> " |
| 809 |
"may not be the same as I<struct timeval>, then instead of the call:" |
| 810 |
msgstr "" |
| 811 |
|
| 812 |
#. type: TH |
| 813 |
#: fedora-44 fedora-rawhide |
| 814 |
#, no-wrap |
| 815 |
msgid "2024-09-01" |
| 816 |
msgstr "1 setembro 2024" |
| 817 |
|
| 818 |
#. type: TH |
| 819 |
#: fedora-44 fedora-rawhide |
| 820 |
#, no-wrap |
| 821 |
msgid "Linux man-pages 6.13" |
| 822 |
msgstr "Linux man-pages 6.13" |
| 823 |
|
| 824 |
#. type: Plain text |
| 825 |
#: fedora-44 fedora-rawhide |
| 826 |
#, no-wrap |
| 827 |
msgid "" |
| 828 |
"/* Values for ut_type field, below */\n" |
| 829 |
"\\&\n" |
| 830 |
"#define EMPTY 0 /* Record does not contain valid info\n" |
| 831 |
" (formerly known as UT_UNKNOWN on Linux) */\n" |
| 832 |
"#define RUN_LVL 1 /* Change in system run-level (see\n" |
| 833 |
" B<init>(1))\\ \n" |
| 834 |
"*/\n" |
| 835 |
"#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n" |
| 836 |
"#define NEW_TIME 3 /* Time after system clock change\n" |
| 837 |
" (in I<ut_tv>) */\n" |
| 838 |
"#define OLD_TIME 4 /* Time before system clock change\n" |
| 839 |
" (in I<ut_tv>) */\n" |
| 840 |
"#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n" |
| 841 |
"*/\n" |
| 842 |
"#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" |
| 843 |
"#define USER_PROCESS 7 /* Normal process */\n" |
| 844 |
"#define DEAD_PROCESS 8 /* Terminated process */\n" |
| 845 |
"#define ACCOUNTING 9 /* Not implemented */\n" |
| 846 |
"\\&\n" |
| 847 |
"#define UT_LINESIZE 32\n" |
| 848 |
"#define UT_NAMESIZE 32\n" |
| 849 |
"#define UT_HOSTSIZE 256\n" |
| 850 |
"\\&\n" |
| 851 |
"struct exit_status { /* Type for ut_exit, below */\n" |
| 852 |
" short e_termination; /* Process termination status */\n" |
| 853 |
" short e_exit; /* Process exit status */\n" |
| 854 |
"};\n" |
| 855 |
"\\&\n" |
| 856 |
"struct utmp {\n" |
| 857 |
" short ut_type; /* Type of record */\n" |
| 858 |
" pid_t ut_pid; /* PID of login process */\n" |
| 859 |
" char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" |
| 860 |
" char ut_id[4]; /* Terminal name suffix,\n" |
| 861 |
" or inittab(5) ID */\n" |
| 862 |
" char ut_user[UT_NAMESIZE]; /* Username */\n" |
| 863 |
" char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" |
| 864 |
" kernel version for run-level\n" |
| 865 |
" messages */\n" |
| 866 |
" struct exit_status ut_exit; /* Exit status of a process\n" |
| 867 |
" marked as DEAD_PROCESS; not\n" |
| 868 |
" used by Linux B<init>(1)\\ \n" |
| 869 |
"*/\n" |
| 870 |
" /* The ut_session and ut_tv fields must be the same size when\n" |
| 871 |
" compiled 32- and 64-bit. This allows data files and shared\n" |
| 872 |
" memory to be shared between 32- and 64-bit applications. */\n" |
| 873 |
"#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" |
| 874 |
" int32_t ut_session; /* Session ID (\n" |
| 875 |
"B<getsid>(2)B<),>\n" |
| 876 |
" used for windowing */\n" |
| 877 |
" struct {\n" |
| 878 |
" int32_t tv_sec; /* Seconds */\n" |
| 879 |
" int32_t tv_usec; /* Microseconds */\n" |
| 880 |
" } ut_tv; /* Time entry was made */\n" |
| 881 |
"#else\n" |
| 882 |
" long ut_session; /* Session ID */\n" |
| 883 |
" struct timeval ut_tv; /* Time entry was made */\n" |
| 884 |
"#endif\n" |
| 885 |
"\\&\n" |
| 886 |
" int32_t ut_addr_v6[4]; /* Internet address of remote\n" |
| 887 |
" host; IPv4 address uses\n" |
| 888 |
" just ut_addr_v6[0] */\n" |
| 889 |
" char __unused[20]; /* Reserved for future use */\n" |
| 890 |
"};\n" |
| 891 |
"\\&\n" |
| 892 |
"/* Backward compatibility hacks */\n" |
| 893 |
"#define ut_name ut_user\n" |
| 894 |
"#ifndef _NO_UT_TIME\n" |
| 895 |
"#define ut_time ut_tv.tv_sec\n" |
| 896 |
"#endif\n" |
| 897 |
"#define ut_xtime ut_tv.tv_sec\n" |
| 898 |
"#define ut_addr ut_addr_v6[0]\n" |
| 899 |
msgstr "" |
| 900 |
|
| 901 |
#. type: TH |
| 902 |
#: mageia-cauldron |
| 903 |
#, no-wrap |
| 904 |
msgid "Linux man-pages 6.17" |
| 905 |
msgstr "Linux man-pages 6.17" |
| 906 |
|
| 907 |
#. type: TH |
| 908 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 909 |
#, no-wrap |
| 910 |
msgid "Linux man-pages (unreleased)" |
| 911 |
msgstr "Linux man-pages (não lançado)" |