Debian Codegraph @

po/it/man5/utmp.5.po

raw
1 # Italian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Giovanni Bortolozzo <[email protected]>, 1996.
5 # Alessandro Rubini <[email protected]>, 1998.
6 # Ottavio G. Rizzo <[email protected]>, 1998.
7 # Giulio Daprelà <[email protected]>, 2005.
8 # Elisabetta Galli <[email protected]>, 2007, 2008.
9 # Marco Curreli <[email protected]>, 2013-2014, 2016-2018, 2020, 2021.
10 # Giuseppe Sacco <[email protected]>, 2024, 2026.
11 msgid ""
12 msgstr ""
13 "Project-Id-Version: manpages-l10n 4.0.0\n"
14 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
15 "PO-Revision-Date: 2026-01-20 21:45+0100\n"
16 "Last-Translator: Giuseppe Sacco <[email protected]>\n"
17 "Language-Team: Italian <[email protected]>\n"
18 "Language: it\n"
19 "MIME-Version: 1.0\n"
20 "Content-Type: text/plain; charset=UTF-8\n"
21 "Content-Transfer-Encoding: 8bit\n"
22 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23 "X-Generator: Poedit 3.8\n"
24
25 #. type: TH
26 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
27 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "utmp"
30 msgstr "utmp"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2025-09-21"
37 msgstr "21 settembre 2025"
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Linux man-pages 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "NOME"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "utmp, wtmp - login records"
57 msgstr "utmp, wtmp - registri dei login"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr "SINTASSI"
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "B<#include E<lt>utmp.hE<gt>>\n"
71 msgstr "B<#include E<lt>utmp.hE<gt>>\n"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "DESCRIPTION"
78 msgstr "DESCRIZIONE"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid ""
84 "The I<utmp> file allows one to discover information about who is currently "
85 "using the system. There may be more users currently using the system, "
86 "because not all programs use utmp logging."
87 msgstr ""
88 "Il file I<utmp> permette di scoprire informazioni su chi sta usando "
89 "attualmente il sistema. Ci possono essere più utenti che stanno usando il "
90 "sistema di quelli riportati, poiché non tutti i programmi usano "
91 "registrazioni utmp."
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
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<Attenzione:> I<utmp> non deve essere scrivibile dalla classe di utenti "
103 "\"other\", poiché molti programmi di sistema dipendono (stupidamente) dalla "
104 "sua integrità. Si rischia di avere file di log contraffatti e file di "
105 "sistema modificati se si lascia I<utmp> scrivibile da utenti che non siano "
106 "il proprietario o il gruppo proprietario del file."
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 msgid ""
112 "The file is a sequence of I<utmp> structures, declared as follows in "
113 "I<E<lt>utmp.hE<gt>> (note that this is only one of several definitions "
114 "around; details depend on the version of libc):"
115 msgstr ""
116 "Il file è una sequenza di strutture I<utmp>, dichiarate nel modo seguente in "
117 "I<E<lt>utmp.hE<gt>> (si noti che questa è solo una delle numerose "
118 "definizioni in giro; i dettagli dipendono dalla versione di libc):"
119
120 #. type: Plain text
121 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
122 #: opensuse-tumbleweed
123 #, no-wrap
124 msgid ""
125 "/* Values for ut_type field, below */\n"
126 "\\&\n"
127 "#define EMPTY 0 /* Record does not contain valid info\n"
128 " (formerly known as UT_UNKNOWN on Linux) */\n"
129 "#define RUN_LVL 1 /* Change in system run-level (see\n"
130 " B<init>(1))\\ \n"
131 "*/\n"
132 "#define BOOT_TIME 2 /* Time of system boot (in \\f[I]ut_tv\\fR) */\n"
133 "#define NEW_TIME 3 /* Time after system clock change\n"
134 " (in \\f[I]ut_tv\\fR) */\n"
135 "#define OLD_TIME 4 /* Time before system clock change\n"
136 " (in \\f[I]ut_tv\\fR) */\n"
137 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n"
138 "*/\n"
139 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
140 "#define USER_PROCESS 7 /* Normal process */\n"
141 "#define DEAD_PROCESS 8 /* Terminated process */\n"
142 "#define ACCOUNTING 9 /* Not implemented */\n"
143 "\\&\n"
144 "#define UT_LINESIZE 32\n"
145 "#define UT_NAMESIZE 32\n"
146 "#define UT_HOSTSIZE 256\n"
147 "\\&\n"
148 "struct exit_status { /* Type for ut_exit, below */\n"
149 " short e_termination; /* Process termination status */\n"
150 " short e_exit; /* Process exit status */\n"
151 "};\n"
152 "\\&\n"
153 "struct utmp {\n"
154 " short ut_type; /* Type of record */\n"
155 " pid_t ut_pid; /* PID of login process */\n"
156 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
157 " char ut_id[4]; /* Terminal name suffix,\n"
158 " or inittab(5) ID */\n"
159 " char ut_user[UT_NAMESIZE]; /* Username */\n"
160 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
161 " kernel version for run-level\n"
162 " messages */\n"
163 " struct exit_status ut_exit; /* Exit status of a process\n"
164 " marked as DEAD_PROCESS; not\n"
165 " used by Linux B<init>(1)\\ \n"
166 "*/\n"
167 " /* The ut_session and ut_tv fields must be the same size when\n"
168 " compiled 32- and 64-bit. This allows data files and shared\n"
169 " memory to be shared between 32- and 64-bit applications. */\n"
170 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
171 " int32_t ut_session; /* Session ID (\n"
172 "B<getsid>(2)),\n"
173 " used for windowing */\n"
174 " struct {\n"
175 " int32_t tv_sec; /* Seconds */\n"
176 " int32_t tv_usec; /* Microseconds */\n"
177 " } ut_tv; /* Time entry was made */\n"
178 "#else\n"
179 " long ut_session; /* Session ID */\n"
180 " struct timeval ut_tv; /* Time entry was made */\n"
181 "#endif\n"
182 "\\&\n"
183 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
184 " host; IPv4 address uses\n"
185 " just ut_addr_v6[0] */\n"
186 " char __unused[20]; /* Reserved for future use */\n"
187 "};\n"
188 "\\&\n"
189 "/* Backward compatibility hacks */\n"
190 "#define ut_name ut_user\n"
191 "#ifndef _NO_UT_TIME\n"
192 "#define ut_time ut_tv.tv_sec\n"
193 "#endif\n"
194 "#define ut_xtime ut_tv.tv_sec\n"
195 "#define ut_addr ut_addr_v6[0]\n"
196 msgstr ""
197 "/* Valori per il campo ut_type field, sotto */\n"
198 "\\&\n"
199 "#define EMPTY 0 /* Il record non contiene informazioni valide\n"
200 " (inizialmente conosciuto come UT_UNKNOWN su Linux) */\n"
201 "#define RUN_LVL 1 /* Cambio del run-level di sistema (vedere\n"
202 " B<init>(1))\\ \n"
203 "*/\n"
204 "#define BOOT_TIME 2 /* Orario dell'avvio del sistema (in \\f[I]ut_tv\\fR) */\n"
205 "#define NEW_TIME 3 /* Orario dopo del cambio dell'orologio di sistema\n"
206 " (in \\f[I]ut_tv\\fR) */\n"
207 "#define OLD_TIME 4 /* Orario prima del cambio dell'orologio di sistema\n"
208 " (in \\f[I]ut_tv\\fR) */\n"
209 "#define INIT_PROCESS 5 /* Processo generato da B<init>(1)\\ \n"
210 "*/\n"
211 "#define LOGIN_PROCESS 6 /* Processo iniziale di sessione per accesso utente */\n"
212 "#define USER_PROCESS 7 /* Processo normale */\n"
213 "#define DEAD_PROCESS 8 /* Processo terminato */\n"
214 "#define ACCOUNTING 9 /* Non implementato */\n"
215 "\\&\n"
216 "#define UT_LINESIZE 32\n"
217 "#define UT_NAMESIZE 32\n"
218 "#define UT_HOSTSIZE 256\n"
219 "\\&\n"
220 "struct exit_status { /* Tipo per ut_exit, sotto */\n"
221 " short e_termination; /* Stato di terminazione del processo */\n"
222 " short e_exit; /* Stato d'uscita del processo */\n"
223 "};\n"
224 "\\&\n"
225 "struct utmp {\n"
226 " short ut_type; /* tipo di record */\n"
227 " pid_t ut_pid; /* PID del processo di login */\n"
228 " char ut_line[UT_LINESIZE]; /* nome del device tty - \"/dev/\" */\n"
229 " char ut_id[4]; /* suffisso del nome del terminale,\n"
230 " o ID inittab(5) */\n"
231 " char ut_user[UT_NAMESIZE]; /* nome utente */\n"
232 " char ut_host[UT_HOSTSIZE]; /* nome dell'host per il login remoto, o\n"
233 " versione del kernel per i messaggi di\n"
234 " run-level */\n"
235 " struct exit_status ut_exit; /* stato di uscita di un processo\n"
236 " marcato come DEAD_PROCESS; non usato\n"
237 " dal programma B<init>(1) di Linux\\ \n"
238 "*/\n"
239 " /* I campi ut_session e ut_tv devono essere della stessa dimensione sia\n"
240 " compilati per 32 che per 64 bit. Ciò permette a file dati e memoria\n"
241 " condivisa di essere condivisi tra applicazioni 32-bit e applicazioni\n"
242 " 64-bit. */\n"
243 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
244 " int32_t ut_session; /* ID della sessione (\n"
245 "B<getsid>(2)),\n"
246 " usato per il windowing */\n"
247 " struct {\n"
248 " int32_t tv_sec; /* secondi */\n"
249 " int32_t tv_usec; /* microsecondi */\n"
250 " } ut_tv; /* voce time completata */\n"
251 "#else\n"
252 " long ut_session; /* ID della sessione */\n"
253 " struct timeval ut_tv; /* creata voce time */\n"
254 "#endif\n"
255 "\\&\n"
256 " int32_t ut_addr_v6[4]; /* Indirizzo Internet del'host remoto;\n"
257 " indirizzo IPv4 usa\n"
258 " solo ut_addr_v6[0] */\n"
259 " char __unused[20]; /* Riservato per usi futuri */\n"
260 "};\n"
261 "\\&\n"
262 "/* Definizioni per compatibilità all'indietro */\n"
263 "#define ut_name ut_user\n"
264 "#ifndef _NO_UT_TIME\n"
265 "#define ut_time ut_tv.tv_sec\n"
266 "#endif\n"
267 "#define ut_xtime ut_tv.tv_sec\n"
268 "#define ut_addr ut_addr_v6[0]\n"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "This structure gives the name of the special file associated with the user's "
275 "terminal, the user's login name, and the time of login in the form of "
276 "B<time>(2). String fields are terminated by a null byte (\\[aq]\\[rs]0\\"
277 "[aq]) if they are shorter than the size of the field."
278 msgstr ""
279 "Questa struttura dà il nome del file speciale associato al terminale utente, "
280 "il nome di login dell'utente, e l'ora di login nel formato di B<time>(2). I "
281 "campi stringa sono terminati con un byte null (\\[aq]\\[rs]0\\[aq]) se sono "
282 "più corti della dimensione del campo."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "The first entries ever created result from B<init>(1) processing "
289 "B<inittab>(5). Before an entry is processed, though, B<init>(1) cleans up "
290 "utmp by setting I<ut_type> to B<DEAD_PROCESS>, clearing I<ut_user>, "
291 "I<ut_host>, and I<ut_time> with null bytes for each record which I<ut_type> "
292 "is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with PID I<ut_pid> "
293 "exists. If no empty record with the needed I<ut_id> can be found, "
294 "B<init>(1) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> "
295 "and I<ut_time> to the current values, and I<ut_type> to B<INIT_PROCESS>."
296 msgstr ""
297 "Le prime voci del file sono il risultato di B<init>(1) quando elabora "
298 "B<inittab>(5). Prima che una voce sia eseguita, però, B<init>(1) pulisce il "
299 "file utmp assegnando il valore di B<DEAD_PROCESS> a I<ut_type>, pulendo "
300 "I<ut_user>, I<ut_host> e I<ut_time> con byte nulli per ogni registrazione il "
301 "cui I<ut_type> non sia I<DEAD_PROCESS> o I<RUN_LVL>, e quelle per cui non "
302 "esistono processi con PID I<ut_pid>. Se non si trovano registrazioni vuote "
303 "con la I<ut_id> necessaria, B<init>(1) ne crea una nuova. Poi assegna "
304 "I<ut_id> dal file inittab, assegna i valori attuali a I<ut_pid> e I<ut_time> "
305 "e assegna B<INIT_PROCESS> a I<ut_type>."
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "B<mingetty>(8) (or B<agetty>(8)) locates the entry by the PID, changes "
312 "I<ut_type> to B<LOGIN_PROCESS>, changes I<ut_time>, sets I<ut_line>, and "
313 "waits for connection to be established. B<login>(1), after a user has been "
314 "authenticated, changes I<ut_type> to B<USER_PROCESS>, changes I<ut_time>, "
315 "and sets I<ut_host> and I<ut_addr>. Depending on B<mingetty>(8) (or "
316 "B<agetty>(8)) and B<login>(1), records may be located by I<ut_line> instead "
317 "of the preferable I<ut_pid>."
318 msgstr ""
319 "B<mingetty>(8) (o B<agetty>(8)) localizza le voci tramite il PID, cambia "
320 "I<ut_type> perché contenga B<LOGIN_PROCESS>, aggiorna I<ut_time>, assegna "
321 "I<ut_line> e aspetta che venga stabilita una connessione. B<login>(1), dopo "
322 "aver autenticato un utente, cambia I<ut_type> perché valga B<USER_PROCESS>, "
323 "aggiorna I<ut_time> e imposta I<ut_host> e I<ut_addr>. In base al "
324 "comportamento di B<mingetty>(8) (o B<agetty>(8)) e B<login>(1), i record "
325 "possono essere indirizzati da I<ut_line> invece del metodo preferibile, "
326 "I<ut_pid>."
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "When B<init>(1) finds that a process has exited, it locates its utmp entry "
333 "by I<ut_pid>, sets I<ut_type> to B<DEAD_PROCESS>, and clears I<ut_user>, "
334 "I<ut_host>, and I<ut_time> with null bytes."
335 msgstr ""
336 "Quando B<init>(1) scopre che un processo è terminato, ricerca la sua voce "
337 "utmp tramite I<ut_pid>, assegna il valore B<DEAD_PROCESS> a I<ut_type> e "
338 "pulisce I<ut_user>, I<ut_host> e I<ut_time>, assegnandogli dei byte nulli."
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "B<xterm>(1) and other terminal emulators directly create a B<USER_PROCESS> "
345 "record and generate the I<ut_id> by using the string that suffix part of the "
346 "terminal name (the characters following I</dev/>[pt]I<ty>). If they find a "
347 "B<DEAD_PROCESS> for this ID, they recycle it, otherwise they create a new "
348 "entry. If they can, they will mark it as B<DEAD_PROCESS> on exiting and it "
349 "is advised that they null I<ut_line>, I<ut_time>, I<ut_user>, and I<ut_host> "
350 "as well."
351 msgstr ""
352 "B<xterm>(1) e altri emulatori terminale creano direttamente un record "
353 "B<USER_PROCESS> e generano il I<ut_id> usando la stringa che compone il "
354 "suffisso finale del nome del terminale (i caratteri che seguono I</dev/"
355 ">[pt]I<ty>). Se trovano un B<DEAD_PROCESS> per questo ID lo riciclano, "
356 "altrimenti creano una nuova voce. Se possono, lo marcheranno come "
357 "B<DEAD_PROCESS> all'uscita e si consiglia che azzerino anche I<ut_line>, "
358 "I<ut_time>, I<ut_user> e I<ut_host>."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid ""
364 "B<telnetd>(8) sets up a B<LOGIN_PROCESS> entry and leaves the rest to "
365 "B<login>(1) as usual. After the telnet session ends, B<telnetd>(8) cleans "
366 "up utmp in the described way."
367 msgstr ""
368 "B<telnetd>(8) imposta una voce B<LOGIN_PROCESS> e lascia il resto a "
369 "B<login>(1) come al solito. Dopo che la sessione telnet termina "
370 "B<telnetd>(8) pulisce utmp nel modo descritto."
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "The I<wtmp> file records all logins and logouts. Its format is exactly like "
377 "I<utmp> except that a null username indicates a logout on the associated "
378 "terminal. Furthermore, the terminal name B<\\[ti]> with username "
379 "B<shutdown> or B<reboot> indicates a system shutdown or reboot and the pair "
380 "of terminal names B<|>/B<}> logs the old/new system time when B<date>(1) "
381 "changes it. I<wtmp> is maintained by B<login>(1), B<init>(1), and some "
382 "versions of B<getty>(8) (e.g., B<mingetty>(8) or B<agetty>(8)). None of "
383 "these programs creates the file, so if it is removed, record-keeping is "
384 "turned off."
385 msgstr ""
386 "Il file I<wtmp> registra tutti i login e logout. Il suo formato è "
387 "esattamente come I<utmp> tranne che un nome utente nullo indica un logout "
388 "sul terminale associato. Inoltre il nome terminale B<\\[ti]> con nome utente "
389 "B<shutdown> o B<reboot> indica uno spegnimento o riavvio del sistema e la "
390 "coppia di nomi di terminale B<|>/B<}> registra la vecchia/nuova ora di "
391 "sistema quando B<date>(1) la cambia. I<wtmp> è mantenuto da B<login>(1), "
392 "B<init>(1), e da alcune versioni di B<getty>(8) (cioè B<mingetty>(8) o "
393 "B<agetty>(8)). Il file non è creato da nessuno di questi programmi, quindi "
394 "se esso viene rimosso la registrazione è disattivata."
395
396 #. type: SH
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "FILES"
401 msgstr "FILE"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid "I</var/run/utmp>"
407 msgstr "I</var/run/utmp>"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid "I</var/log/wtmp>"
413 msgstr "I</var/log/wtmp>"
414
415 #. type: SH
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "VERSIONS"
420 msgstr "VERSIONI"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "POSIX.1 does not specify a I<utmp> structure, but rather one named I<utmpx> "
427 "(as part of the XSI extension), with specifications for the fields "
428 "I<ut_type>, I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user>, and I<ut_tv>. "
429 "POSIX.1 does not specify the lengths of the I<ut_line> and I<ut_user> fields."
430 msgstr ""
431 "POSIX.1 non specifica una struttura I<utmp> ma una che si chiama I<utmpx> "
432 "(all'interno delle estensioni XSI), con indicazioni per i campi I<ut_type>, "
433 "I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user> e I<ut_tv>. POSIX.1 non "
434 "specifica la lunghezza dei campi I<ut_line> e I<ut_user>."
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid ""
440 "Linux defines the I<utmpx> structure to be the same as the I<utmp> structure."
441 msgstr "Linux definisce la struttura I<utmpx> uguale a quella di I<utmp>."
442
443 #. type: SH
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "STANDARDS"
448 msgstr "CONFORME A"
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 "Linux."
454 msgstr "Linux."
455
456 #. type: SH
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "HISTORY"
461 msgstr "STORIA"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "Linux utmp entries conform neither to v7/BSD nor to System V; they are a mix "
468 "of the two."
469 msgstr ""
470 "Le voci Linux utmp non sono conformi nè a v7/BSD nè a SYSV; esse sono un mix "
471 "delle due."
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "v7/BSD has fewer fields; most importantly it lacks I<ut_type>, which causes "
478 "native v7/BSD-like programs to display (for example) dead or login entries. "
479 "Further, there is no configuration file which allocates slots to sessions. "
480 "BSD does so because it lacks I<ut_id> fields."
481 msgstr ""
482 "v7/BSD ha meno campi; più importante, esso non ha I<ut_type>, e ciò fa sì "
483 "che programmi nativi v7/BSD visualizzino (per esempio) voci morte o di "
484 "login. Inoltre, non c'è alcun file di configurazione che alloca spazi alle "
485 "sessioni. BSD fa questo perché non ha campi I<ut_id>."
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "In Linux (as in System V), the I<ut_id> field of a record will never change "
492 "once it has been set, which reserves that slot without needing a "
493 "configuration file. Clearing I<ut_id> may result in race conditions leading "
494 "to corrupted utmp entries and potential security holes. Clearing the "
495 "abovementioned fields by filling them with null bytes is not required by "
496 "System V semantics, but makes it possible to run many programs which assume "
497 "BSD semantics and which do not modify utmp. Linux uses the BSD conventions "
498 "for line contents, as documented above."
499 msgstr ""
500 "In Linux (come in System V), il campo I<ut_id> di un record non cambierà mai "
501 "una volta che è stato impostato, e ciò riserva questo spazio senza bisogno "
502 "di un file di configurazione. Cancellare I<ut_id> può dar luogo a delle race "
503 "condition che portano a voci utmp corrotte e a potenziali buchi di "
504 "sicurezza. Cancellare i campi menzionati sopra riempiendoli con byte nulli "
505 "non è richiesto dalla semantica System V, ma permette di eseguire molti "
506 "programmi che assumono la semantica BSD e che non modificano utmp. Linux usa "
507 "le convenzioni BSD per i contenuti di linea, come documentato in precedenza."
508
509 #. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
510 #. mtk: What is the referrent of "them" in the following sentence?
511 #. System V only uses the type field to mark them and logs
512 #. informative messages such as \f[B]"new time"\f[] in the line field.
513 #. type: Plain text
514 #. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
515 #. mtk: What is the referrent of "them" in the following sentence?
516 #. System V only uses the type field to mark them and logs
517 #. informative messages such as \fB"new time"\fP in the line field.
518 #. type: Plain text
519 #. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
520 #. mtk: What is the referrent of "them" in the following sentence?
521 #. System V only uses the type field to mark them and logs
522 #. informative messages such as \f[B]"new time"\f[] in the line field.
523 #. type: Plain text
524 #. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
525 #. mtk: What is the referrent of "them" in the following sentence?
526 #. System V only uses the type field to mark them and logs
527 #. informative messages such as \fB"new time"\fP in the line field.
528 #. type: Plain text
529 #. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
530 #. mtk: What is the referrent of "them" in the following sentence?
531 #. System V only uses the type field to mark them and logs
532 #. informative messages such as \fB"new time"\fP in the line field.
533 #. type: Plain text
534 #. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
535 #. mtk: What is the referrent of "them" in the following sentence?
536 #. System V only uses the type field to mark them and logs
537 #. informative messages such as \f[B]"new time"\f[] in the line field.
538 #. type: Plain text
539 #. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
540 #. mtk: What is the referrent of "them" in the following sentence?
541 #. System V only uses the type field to mark them and logs
542 #. informative messages such as \f[B]"new time"\f[] in the line field.
543 #. type: Plain text
544 #. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
545 #. mtk: What is the referrent of "them" in the following sentence?
546 #. System V only uses the type field to mark them and logs
547 #. informative messages such as \f[B]"new time"\f[] in the line field.
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "System V has no I<ut_host> or I<ut_addr_v6> fields."
552 msgstr "System V non ha campi I<ut_host> o I<ut_addr_v6>."
553
554 #. type: SH
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "NOTES"
559 msgstr "NOTE"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "Unlike various other systems, where utmp logging can be disabled by removing "
566 "the file, utmp must always exist on Linux. If you want to disable "
567 "B<who>(1), then do not make utmp world readable."
568 msgstr ""
569 "A differenza di vari altri sistemi, in cui la registrazione in utmp può "
570 "essere disabilitata cancellando il file, utmp deve sempre esistere in Linux. "
571 "Se si vuole disabilitare B<who>(1) basta togliere il permesso di lettura "
572 "globale al file utmp."
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 msgid ""
578 "The file format is machine-dependent, so it is recommended that it be "
579 "processed only on the machine architecture where it was created."
580 msgstr ""
581 "Il formato del file dipende dalla macchina, perciò si raccomanda di "
582 "elaborarlo solo su macchine con la stessa architettura di quella su cui il "
583 "file è stato creato."
584
585 #. type: Plain text
586 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
587 #: opensuse-tumbleweed
588 msgid ""
589 "Note that on I<biarch> platforms, that is, systems which can run both 32-bit "
590 "and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same "
591 "size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and "
592 "I<ut_time> if they are present. This allows data files and shared memory to "
593 "be shared between 32-bit and 64-bit applications. This is achieved by "
594 "changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a "
595 "struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> "
596 "may not be the same as I<struct\\ timeval>, then instead of the call:"
597 msgstr ""
598 "Notare che su piattaforme I<biarch>, cioè sistemi che possono far girare sia "
599 "applicazioni 32-bit che 64-bit (x86-64, ppc64, s390x, etc.), I<ut_tv> è "
600 "della stessa dimensione in modalità 32-bit e in modalità 64-bit. Lo stesso "
601 "vale per I<ut_session> e I<ut_time> se sono presenti. Ciò permette a file "
602 "dati e memoria condivisa di essere condivisi tra applicazioni 32-bit e "
603 "applicazioni 64-bit. Ciò si ottiene cambiando il tipo di I<ut_session> a "
604 "I<int32_t>, e il tipo di I<ut_tv> ad una struttura con due campi I<int32_t>, "
605 "I<tv_sec> e I<tv_usec>. Poiché I<ut_tv> potrebbe non essere lo stesso di "
606 "I<struct\\ timeval>, invece della chiamata:"
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 #, no-wrap
612 msgid "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n"
613 msgstr "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n"
614
615 #. type: Plain text
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 msgid "the following method of setting this field is recommended:"
619 msgstr "si raccomanda il seguente metodo per impostare il campo:"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid ""
626 "struct utmp ut;\n"
627 "struct timeval tv;\n"
628 "\\&\n"
629 "gettimeofday(&tv, NULL);\n"
630 "ut.ut_tv.tv_sec = tv.tv_sec;\n"
631 "ut.ut_tv.tv_usec = tv.tv_usec;\n"
632 msgstr ""
633 "struct utmp ut;\n"
634 "struct timeval tv;\n"
635 "\\&\n"
636 "gettimeofday(&tv, NULL);\n"
637 "ut.ut_tv.tv_sec = tv.tv_sec;\n"
638 "ut.ut_tv.tv_usec = tv.tv_usec;\n"
639
640 #. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
641 #. .P
642 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
643 #. Because of this,
644 #. binaries using the old libc5 struct will corrupt
645 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
646 #. .SH BUGS
647 #. This man page is based on the libc5 one, things may work differently now.
648 #. type: SH
649 #. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
650 #. .P
651 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
652 #. Because of this,
653 #. binaries using the old libc5 struct will corrupt
654 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
655 #. .SH BUGS
656 #. This man page is based on the libc5 one, things may work differently now.
657 #. type: SH
658 #. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
659 #. .P
660 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
661 #. Because of this,
662 #. binaries using the old libc5 struct will corrupt
663 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
664 #. .SH BUGS
665 #. This man page is based on the libc5 one, things may work differently now.
666 #. type: SH
667 #. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
668 #. .P
669 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
670 #. Because of this,
671 #. binaries using the old libc5 struct will corrupt
672 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
673 #. .SH BUGS
674 #. This man page is based on the libc5 one, things may work differently now.
675 #. type: SH
676 #. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
677 #. .P
678 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
679 #. Because of this,
680 #. binaries using the old libc5 struct will corrupt
681 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
682 #. .SH BUGS
683 #. This man page is based on the libc5 one, things may work differently now.
684 #. type: SH
685 #. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
686 #. .P
687 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
688 #. Because of this,
689 #. binaries using the old libc5 struct will corrupt
690 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
691 #. .SH BUGS
692 #. This man page is based on the libc5 one, things may work differently now.
693 #. type: SH
694 #. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
695 #. .P
696 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
697 #. Because of this,
698 #. binaries using the old libc5 struct will corrupt
699 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
700 #. .SH BUGS
701 #. This man page is based on the libc5 one, things may work differently now.
702 #. type: SH
703 #. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
704 #. .P
705 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
706 #. Because of this,
707 #. binaries using the old libc5 struct will corrupt
708 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
709 #. .SH BUGS
710 #. This man page is based on the libc5 one, things may work differently now.
711 #. type: SH
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid "SEE ALSO"
716 msgstr "VEDERE ANCHE"
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 msgid ""
722 "B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), "
723 "B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), "
724 "B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)"
725 msgstr ""
726 "B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), "
727 "B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), "
728 "B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)"
729
730 #. type: TH
731 #: debian-trixie
732 #, no-wrap
733 msgid "2024-06-15"
734 msgstr "15 giugno 2024"
735
736 #. type: TH
737 #: debian-trixie
738 #, no-wrap
739 msgid "Linux man-pages 6.9.1"
740 msgstr "Linux man-pages 6.9.1"
741
742 #. type: Plain text
743 #: debian-trixie
744 #, no-wrap
745 msgid ""
746 "/* Values for ut_type field, below */\n"
747 "\\&\n"
748 "#define EMPTY 0 /* Record does not contain valid info\n"
749 " (formerly known as UT_UNKNOWN on Linux) */\n"
750 "#define RUN_LVL 1 /* Change in system run-level (see\n"
751 " B<init>(1)) */\n"
752 "#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n"
753 "#define NEW_TIME 3 /* Time after system clock change\n"
754 " (in I<ut_tv>) */\n"
755 "#define OLD_TIME 4 /* Time before system clock change\n"
756 " (in I<ut_tv>) */\n"
757 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1) */\n"
758 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
759 "#define USER_PROCESS 7 /* Normal process */\n"
760 "#define DEAD_PROCESS 8 /* Terminated process */\n"
761 "#define ACCOUNTING 9 /* Not implemented */\n"
762 "\\&\n"
763 "#define UT_LINESIZE 32\n"
764 "#define UT_NAMESIZE 32\n"
765 "#define UT_HOSTSIZE 256\n"
766 "\\&\n"
767 "struct exit_status { /* Type for ut_exit, below */\n"
768 " short e_termination; /* Process termination status */\n"
769 " short e_exit; /* Process exit status */\n"
770 "};\n"
771 "\\&\n"
772 "struct utmp {\n"
773 " short ut_type; /* Type of record */\n"
774 " pid_t ut_pid; /* PID of login process */\n"
775 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
776 " char ut_id[4]; /* Terminal name suffix,\n"
777 " or inittab(5) ID */\n"
778 " char ut_user[UT_NAMESIZE]; /* Username */\n"
779 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
780 " kernel version for run-level\n"
781 " messages */\n"
782 " struct exit_status ut_exit; /* Exit status of a process\n"
783 " marked as DEAD_PROCESS; not\n"
784 " used by Linux init(1) */\n"
785 " /* The ut_session and ut_tv fields must be the same size when\n"
786 " compiled 32- and 64-bit. This allows data files and shared\n"
787 " memory to be shared between 32- and 64-bit applications. */\n"
788 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
789 " int32_t ut_session; /* Session ID (B<getsid>(2)),\n"
790 " used for windowing */\n"
791 " struct {\n"
792 " int32_t tv_sec; /* Seconds */\n"
793 " int32_t tv_usec; /* Microseconds */\n"
794 " } ut_tv; /* Time entry was made */\n"
795 "#else\n"
796 " long ut_session; /* Session ID */\n"
797 " struct timeval ut_tv; /* Time entry was made */\n"
798 "#endif\n"
799 "\\&\n"
800 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
801 " host; IPv4 address uses\n"
802 " just ut_addr_v6[0] */\n"
803 " char __unused[20]; /* Reserved for future use */\n"
804 "};\n"
805 "\\&\n"
806 "/* Backward compatibility hacks */\n"
807 "#define ut_name ut_user\n"
808 "#ifndef _NO_UT_TIME\n"
809 "#define ut_time ut_tv.tv_sec\n"
810 "#endif\n"
811 "#define ut_xtime ut_tv.tv_sec\n"
812 "#define ut_addr ut_addr_v6[0]\n"
813 msgstr ""
814 "/* Valori per il campo ut_type field, sotto */\n"
815 "\\&\n"
816 "#define EMPTY 0 /* Il record non contiene informazioni valide\n"
817 " (inizialmente conosciuto come UT_UNKNOWN su Linux) */\n"
818 "#define RUN_LVL 1 /* Cambio del run-level di sistema (see\n"
819 " B<init>(1)) */\n"
820 "#define BOOT_TIME 2 /* Orario dell'avvio del sistema (in I<ut_tv>) */\n"
821 "#define NEW_TIME 3 /* Orario dopo del cambio dell'orologio di sistema\n"
822 " (in I<ut_tv>) */\n"
823 "#define OLD_TIME 4 /* Orario prima del cambio dell'orologio di sistema\n"
824 " (in I<ut_tv>) */\n"
825 "#define INIT_PROCESS 5 /* Processo generato da B<init>(1) */\n"
826 "#define LOGIN_PROCESS 6 /* Processo iniziale di sessione per accesso utente */\n"
827 "#define USER_PROCESS 7 /* Processo normale */\n"
828 "#define DEAD_PROCESS 8 /* Processo terminato */\n"
829 "#define ACCOUNTING 9 /* Non implementato */\n"
830 "\\&\n"
831 "#define UT_LINESIZE 32\n"
832 "#define UT_NAMESIZE 32\n"
833 "#define UT_HOSTSIZE 256\n"
834 "\\&\n"
835 "struct exit_status { /* Tipo per ut_exit, sotto */\n"
836 " short e_termination; /* Stato di terminazione del processo */\n"
837 " short e_exit; /* Stato d'uscita del processo */\n"
838 "};\n"
839 "\\&\n"
840 "\n"
841 "struct utmp {\n"
842 " short ut_type; /* tipo di record */\n"
843 " pid_t ut_pid; /* PID del processo di login */\n"
844 " char ut_line[UT_LINESIZE]; /* nome del dispositivo tty - \"/dev/\" */\n"
845 " char ut_id[4]; /* suffisso del nome del terminale,\n"
846 " o ID inittab(5) */\n"
847 " char ut_user[UT_NAMESIZE]; /* nome utente */\n"
848 " char ut_host[UT_HOSTSIZE]; /* nome dell'host per il login remoto, o\n"
849 " versione del kernel per i messaggi di\n"
850 " run-level*/\n"
851 " struct exit_status ut_exit; /* stato di uscita di un processo\n"
852 " marcato come DEAD_PROCESS; non usato\n"
853 " dal programma init(1) di Linux */\n"
854 " /* I campi ut_session e ut_tv devono essere della stessa dimensione sia\n"
855 " compilati per 32 che per 64 bit. Ciò permette a file dati e memoria\n"
856 " condivisa di essere condivisi tra applicazioni 32-bit e applicazioni\n"
857 " 64-bit. */\n"
858 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
859 " int32_t ut_session; /* ID della sessione (B<getsid>(2)),\n"
860 " usato per il windowing */\n"
861 " struct {\n"
862 " int32_t tv_sec; /* secondi */\n"
863 " int32_t tv_usec; /* microsecondi */\n"
864 " } ut_tv; /* creata una voce Time */\n"
865 "#else\n"
866 " long ut_session; /* ID della sessione */\n"
867 " struct timeval ut_tv; /* creata una voce Time */\n"
868 "#endif\n"
869 "\\&\n"
870 " int32_t ut_addr_v6[4]; /* Indirizzo Internet del'host remoto;\n"
871 " indirizzo IPv4 usa\n"
872 " solo ut_addr_v6[0] */\n"
873 " char __unused[20]; /* Riservato per usi futuri */\n"
874 "};\n"
875 "\\&\n"
876 "/* Definizioni per compatibilità all'indietro */\n"
877 "#define ut_name ut_user\n"
878 "#ifndef _NO_UT_TIME\n"
879 "#define ut_time ut_tv.tv_sec\n"
880 "#endif\n"
881 "#define ut_xtime ut_tv.tv_sec\n"
882 "#define ut_addr ut_addr_v6[0]\n"
883
884 #. type: Plain text
885 #: debian-trixie fedora-44 fedora-rawhide
886 msgid ""
887 "Note that on I<biarch> platforms, that is, systems which can run both 32-bit "
888 "and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same "
889 "size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and "
890 "I<ut_time> if they are present. This allows data files and shared memory to "
891 "be shared between 32-bit and 64-bit applications. This is achieved by "
892 "changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a "
893 "struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> "
894 "may not be the same as I<struct timeval>, then instead of the call:"
895 msgstr ""
896 "Notare che su piattaforme I<biarch>, cioé sistemi che possono far girare sia "
897 "applicazioni 32-bit che 64-bit (x86-64, ppc64, s390x, etc.), I<ut_tv> è "
898 "della stessa dimensione in modalità 32-bit e in modalità 64-bit. Lo stesso "
899 "vale per I<ut_session> e I<ut_time> se sono presenti. Ciò permette a file "
900 "dati e memoria condivisa di essere condivisi tra applicazioni 32-bit e "
901 "applicazioni 64-bit. Ciò si ottiene cambiando il tipo di I<ut_session> a "
902 "I<int32_t>, e il tipo di I<ut_tv> ad una struttura con due campi I<int32_t>, "
903 "I<tv_sec> e I<tv_usec>. Poiché I<ut_tv> potrebbe non essere lo stesso di "
904 "I<struct timeval>, invece della chiamata:"
905
906 #. type: TH
907 #: fedora-44 fedora-rawhide
908 #, no-wrap
909 msgid "2024-09-01"
910 msgstr "1 settembre 2024"
911
912 #. type: TH
913 #: fedora-44 fedora-rawhide
914 #, no-wrap
915 msgid "Linux man-pages 6.13"
916 msgstr "Linux man-pages 6.13"
917
918 #. type: Plain text
919 #: fedora-44 fedora-rawhide
920 #, no-wrap
921 msgid ""
922 "/* Values for ut_type field, below */\n"
923 "\\&\n"
924 "#define EMPTY 0 /* Record does not contain valid info\n"
925 " (formerly known as UT_UNKNOWN on Linux) */\n"
926 "#define RUN_LVL 1 /* Change in system run-level (see\n"
927 " B<init>(1))\\ \n"
928 "*/\n"
929 "#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n"
930 "#define NEW_TIME 3 /* Time after system clock change\n"
931 " (in I<ut_tv>) */\n"
932 "#define OLD_TIME 4 /* Time before system clock change\n"
933 " (in I<ut_tv>) */\n"
934 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n"
935 "*/\n"
936 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
937 "#define USER_PROCESS 7 /* Normal process */\n"
938 "#define DEAD_PROCESS 8 /* Terminated process */\n"
939 "#define ACCOUNTING 9 /* Not implemented */\n"
940 "\\&\n"
941 "#define UT_LINESIZE 32\n"
942 "#define UT_NAMESIZE 32\n"
943 "#define UT_HOSTSIZE 256\n"
944 "\\&\n"
945 "struct exit_status { /* Type for ut_exit, below */\n"
946 " short e_termination; /* Process termination status */\n"
947 " short e_exit; /* Process exit status */\n"
948 "};\n"
949 "\\&\n"
950 "struct utmp {\n"
951 " short ut_type; /* Type of record */\n"
952 " pid_t ut_pid; /* PID of login process */\n"
953 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
954 " char ut_id[4]; /* Terminal name suffix,\n"
955 " or inittab(5) ID */\n"
956 " char ut_user[UT_NAMESIZE]; /* Username */\n"
957 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
958 " kernel version for run-level\n"
959 " messages */\n"
960 " struct exit_status ut_exit; /* Exit status of a process\n"
961 " marked as DEAD_PROCESS; not\n"
962 " used by Linux B<init>(1)\\ \n"
963 "*/\n"
964 " /* The ut_session and ut_tv fields must be the same size when\n"
965 " compiled 32- and 64-bit. This allows data files and shared\n"
966 " memory to be shared between 32- and 64-bit applications. */\n"
967 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
968 " int32_t ut_session; /* Session ID (\n"
969 "B<getsid>(2)B<),>\n"
970 " used for windowing */\n"
971 " struct {\n"
972 " int32_t tv_sec; /* Seconds */\n"
973 " int32_t tv_usec; /* Microseconds */\n"
974 " } ut_tv; /* Time entry was made */\n"
975 "#else\n"
976 " long ut_session; /* Session ID */\n"
977 " struct timeval ut_tv; /* Time entry was made */\n"
978 "#endif\n"
979 "\\&\n"
980 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
981 " host; IPv4 address uses\n"
982 " just ut_addr_v6[0] */\n"
983 " char __unused[20]; /* Reserved for future use */\n"
984 "};\n"
985 "\\&\n"
986 "/* Backward compatibility hacks */\n"
987 "#define ut_name ut_user\n"
988 "#ifndef _NO_UT_TIME\n"
989 "#define ut_time ut_tv.tv_sec\n"
990 "#endif\n"
991 "#define ut_xtime ut_tv.tv_sec\n"
992 "#define ut_addr ut_addr_v6[0]\n"
993 msgstr ""
994 "/* Valori per il campo ut_type field, sotto */\n"
995 "\\&\n"
996 "#define EMPTY 0 /* Il record non contiene informazioni valide\n"
997 " (inizialmente conosciuto come UT_UNKNOWN su Linux) */\n"
998 "#define RUN_LVL 1 /* Cambio del run-level di sistema (vedere\n"
999 " B<init>(1))\\ \n"
1000 "*/\n"
1001 "#define BOOT_TIME 2 /* Orario dell'avvio del sistema (in I<ut_tv>) */\n"
1002 "#define NEW_TIME 3 /* Orario dopo del cambio dell'orologio di sistema\n"
1003 " (in I<ut_tv>) */\n"
1004 "#define OLD_TIME 4 /* Orario prima del cambio dell'orologio di sistema\n"
1005 " (in I<ut_tv>) */\n"
1006 "#define INIT_PROCESS 5 /* Processo generato da B<init>(1)\\ \n"
1007 "*/\n"
1008 "#define LOGIN_PROCESS 6 /* Processo iniziale di sessione per accesso utente */\n"
1009 "#define USER_PROCESS 7 /* Processo normale */\n"
1010 "#define DEAD_PROCESS 8 /* Processo terminato */\n"
1011 "#define ACCOUNTING 9 /* Non implementato */\n"
1012 "\\&\n"
1013 "#define UT_LINESIZE 32\n"
1014 "#define UT_NAMESIZE 32\n"
1015 "#define UT_HOSTSIZE 256\n"
1016 "\\&\n"
1017 "struct exit_status { /* Tipo per ut_exit, sotto */\n"
1018 " short e_termination; /* Stato di terminazione del processo */\n"
1019 " short e_exit; /* Stato d'uscita del processo */\n"
1020 "};\n"
1021 "\\&\n"
1022 "struct utmp {\n"
1023 " short ut_type; /* tipo di record */\n"
1024 " pid_t ut_pid; /* PID del processo di login */\n"
1025 " char ut_line[UT_LINESIZE]; /* nome del device tty - \"/dev/\" */\n"
1026 " char ut_id[4]; /* suffisso del nome del terminale,\n"
1027 " o ID inittab(5) */\n"
1028 " char ut_user[UT_NAMESIZE]; /* nome utente */\n"
1029 " char ut_host[UT_HOSTSIZE]; /* nome dell'host per il login remoto, o\n"
1030 " versione del kernel per i messaggi di\n"
1031 " run-level*/\n"
1032 " struct exit_status ut_exit; /* stato di uscita di un processo\n"
1033 " marcato come DEAD_PROCESS; non usato\n"
1034 " dal programma init(1) di Linux */\n"
1035 " /* I campi ut_session e ut_tv devono essere della stessa dimensione sia\n"
1036 " compilati per 32 che per 64 bit. Ciò permette a file dati e memoria\n"
1037 " condivisa di essere condivisi tra applicazioni 32-bit e applicazioni\n"
1038 " 64-bit. */\n"
1039 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
1040 " int32_t ut_session; /* ID della sessione (B<getsid>(2)),\n"
1041 " usato per il windowing */\n"
1042 " struct {\n"
1043 " int32_t tv_sec; /* secondi */\n"
1044 " int32_t tv_usec; /* microsecondi */\n"
1045 " } ut_tv; /* creata una voce Time */\n"
1046 "#else\n"
1047 " long ut_session; /* ID della sessione */\n"
1048 " struct timeval ut_tv; /* creata una voce Time */\n"
1049 "#endif\n"
1050 "\\&\n"
1051 " int32_t ut_addr_v6[4]; /* Indirizzo Internet del'host remoto;\n"
1052 " indirizzo IPv4 usa\n"
1053 " solo ut_addr_v6[0] */\n"
1054 " char __unused[20]; /* Riservato per usi futuri */\n"
1055 "};\n"
1056 "\\&\n"
1057 "/* Definizioni per compatibilità all'indietro */\n"
1058 "#define ut_name ut_user\n"
1059 "#ifndef _NO_UT_TIME\n"
1060 "#define ut_time ut_tv.tv_sec\n"
1061 "#endif\n"
1062 "#define ut_xtime ut_tv.tv_sec\n"
1063 "#define ut_addr ut_addr_v6[0]\n"
1064
1065 #. type: TH
1066 #: mageia-cauldron
1067 #, no-wrap
1068 msgid "Linux man-pages 6.17"
1069 msgstr "Linux man-pages 6.17"
1070
1071 #. type: TH
1072 #: opensuse-leap-16-1 opensuse-tumbleweed
1073 #, no-wrap
1074 msgid "Linux man-pages (unreleased)"
1075 msgstr "Linux man-pages (non rilasciato)"