Debian Codegraph @

po/ro/man5/utmp.5.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
9 "PO-Revision-Date: 2025-11-06 10:08+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "utmp"
25 msgstr "utmp"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-09-21"
32 msgstr "21 septembrie 2025"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "utmp, wtmp - login records"
51 msgstr "utmp, wtmp - înregistrări de autentificare"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "SYNOPSIS"
58 msgstr "SINOPSIS"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "B<#include E<lt>utmp.hE<gt>>\n"
65 msgstr "B<#include E<lt>utmp.hE<gt>>\n"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr "DESCRIERE"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 msgid ""
78 "The I<utmp> file allows one to discover information about who is currently "
79 "using the system. There may be more users currently using the system, "
80 "because not all programs use utmp logging."
81 msgstr ""
82 "Fișierul I<utmp> permite aflarea de informații despre cine utilizează în "
83 "prezent sistemul. Este posibil să existe mai mulți utilizatori care "
84 "utilizează în prezent sistemul, deoarece nu toate programele utilizează "
85 "jurnalizarea utmp."
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "B<Warning:> I<utmp> must not be writable by the user class \"other\", "
92 "because many system programs (foolishly) depend on its integrity. You risk "
93 "faked system logfiles and modifications of system files if you leave I<utmp> "
94 "writable to any user other than the owner and group owner of the file."
95 msgstr ""
96 "B<Avertisment:> I<utmp> nu trebuie să poată fi scris de către clasa de "
97 "utilizatori „other” (alții), deoarece multe programe de sistem depind (în "
98 "mod nebunesc) de integritatea sa. Riscați să falsificați fișiere de jurnal "
99 "de sistem și să modificați fișiere de sistem dacă lăsați I<utmp> cu "
100 "permisiuni de scriere pentru orice alt utilizator decât proprietarul și "
101 "grupul proprietar al fișierului."
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "The file is a sequence of I<utmp> structures, declared as follows in "
108 "I<E<lt>utmp.hE<gt>> (note that this is only one of several definitions "
109 "around; details depend on the version of libc):"
110 msgstr ""
111 "Fișierul este o secvență de structuri I<utmp>, declarate după cum urmează în "
112 "I<E<lt>utmp.hE<gt>> (rețineți că aceasta este doar una dintre cele câteva "
113 "definiții existente; detaliile depind de versiunea de libc):"
114
115 #. type: Plain text
116 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
117 #: opensuse-tumbleweed
118 #, no-wrap
119 msgid ""
120 "/* Values for ut_type field, below */\n"
121 "\\&\n"
122 "#define EMPTY 0 /* Record does not contain valid info\n"
123 " (formerly known as UT_UNKNOWN on Linux) */\n"
124 "#define RUN_LVL 1 /* Change in system run-level (see\n"
125 " B<init>(1))\\ \n"
126 "*/\n"
127 "#define BOOT_TIME 2 /* Time of system boot (in \\f[I]ut_tv\\fR) */\n"
128 "#define NEW_TIME 3 /* Time after system clock change\n"
129 " (in \\f[I]ut_tv\\fR) */\n"
130 "#define OLD_TIME 4 /* Time before system clock change\n"
131 " (in \\f[I]ut_tv\\fR) */\n"
132 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n"
133 "*/\n"
134 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
135 "#define USER_PROCESS 7 /* Normal process */\n"
136 "#define DEAD_PROCESS 8 /* Terminated process */\n"
137 "#define ACCOUNTING 9 /* Not implemented */\n"
138 "\\&\n"
139 "#define UT_LINESIZE 32\n"
140 "#define UT_NAMESIZE 32\n"
141 "#define UT_HOSTSIZE 256\n"
142 "\\&\n"
143 "struct exit_status { /* Type for ut_exit, below */\n"
144 " short e_termination; /* Process termination status */\n"
145 " short e_exit; /* Process exit status */\n"
146 "};\n"
147 "\\&\n"
148 "struct utmp {\n"
149 " short ut_type; /* Type of record */\n"
150 " pid_t ut_pid; /* PID of login process */\n"
151 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
152 " char ut_id[4]; /* Terminal name suffix,\n"
153 " or inittab(5) ID */\n"
154 " char ut_user[UT_NAMESIZE]; /* Username */\n"
155 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
156 " kernel version for run-level\n"
157 " messages */\n"
158 " struct exit_status ut_exit; /* Exit status of a process\n"
159 " marked as DEAD_PROCESS; not\n"
160 " used by Linux B<init>(1)\\ \n"
161 "*/\n"
162 " /* The ut_session and ut_tv fields must be the same size when\n"
163 " compiled 32- and 64-bit. This allows data files and shared\n"
164 " memory to be shared between 32- and 64-bit applications. */\n"
165 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
166 " int32_t ut_session; /* Session ID (\n"
167 "B<getsid>(2)),\n"
168 " used for windowing */\n"
169 " struct {\n"
170 " int32_t tv_sec; /* Seconds */\n"
171 " int32_t tv_usec; /* Microseconds */\n"
172 " } ut_tv; /* Time entry was made */\n"
173 "#else\n"
174 " long ut_session; /* Session ID */\n"
175 " struct timeval ut_tv; /* Time entry was made */\n"
176 "#endif\n"
177 "\\&\n"
178 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
179 " host; IPv4 address uses\n"
180 " just ut_addr_v6[0] */\n"
181 " char __unused[20]; /* Reserved for future use */\n"
182 "};\n"
183 "\\&\n"
184 "/* Backward compatibility hacks */\n"
185 "#define ut_name ut_user\n"
186 "#ifndef _NO_UT_TIME\n"
187 "#define ut_time ut_tv.tv_sec\n"
188 "#endif\n"
189 "#define ut_xtime ut_tv.tv_sec\n"
190 "#define ut_addr ut_addr_v6[0]\n"
191 msgstr ""
192 "/* Valori pentru câmpul ut_type, de mai jos */\n"
193 "\\&\n"
194 "#define EMPTY 0 /* Înregistrarea nu conține informații valide\n"
195 " (cunoscută anterior ca UT_UNKNOWN pe Linux) */\n"
196 "#define RUN_LVL 1 /* Schimbarea nivelului de execuție a sistemului (a se vedea\n"
197 " B<init>(1)) \n"
198 "*/\n"
199 "#define BOOT_TIME 2 /* Timpul de pornire a sistemului (în I<ut_tv>) */\n"
200 "#define NEW_TIME 3 /* Timpul după schimbarea ceasului sistemului\n"
201 " (în I<ut_tv>) */\n"
202 "#define OLD_TIME 4 /* Timpul înainte de schimbarea ceasului sistemului\n"
203 " (în I<ut_tv>) */\n"
204 "#define INIT_PROCESS 5 /* Proces generat de B<init>(1) \n"
205 "*/\n"
206 "#define LOGIN_PROCESS 6 /* Proces de lider de sesiune pentru autentificarea utilizatorului */\n"
207 "#define USER_PROCESS 7 /* Proces normal */\n"
208 "#define DEAD_PROCESS 8 /* Proces terminat */\n"
209 "#define ACCOUNTING 9 /* Neimplementat */\n"
210 "\\&\n"
211 "#define UT_LINESIZE 32\n"
212 "#define UT_NAMESIZE 32\n"
213 "#define UT_HOSTSIZE 256\n"
214 "\\&\n"
215 "struct exit_status { /* Tip pentru ut_exit, de mai jos */\n"
216 " short e_termination; /* Starea de terminare a procesului */\n"
217 " short e_exit; /* Starea de ieșire a procesului */\n"
218 "};\n"
219 "\\&\n"
220 "struct utmp {\n"
221 " short ut_type; /* Tipul de înregistrare */\n"
222 " pid_t ut_pid; /* PID-ul procesului de autentificare */\n"
223 " char ut_line[UT_LINESIZE]; /* Numele dispozitivului tty - „/dev/” */\n"
224 " char ut_id[4]; /* Sufixul numelui terminalului,\n"
225 " sau ID-ul inittab(5) */\n"
226 " char ut_user[UT_NAMESIZE]; /* Nume utilizator */\n"
227 " char ut_host[UT_HOSTSIZE]; /* Numele de gazdă pentru autentificarea de la distanță\n"
228 " sau versiunea nucleului pentru mesajele de la\n"
229 " nivelul de execuție */\n"
230 " struct exit_status ut_exit; /* Starea de ieșire a unui proces\n"
231 " marcat ca DEAD_PROCESS; nu\n"
232 " este utilizat de Linux B<init>(1) \n"
233 "*/\n"
234 " /* Câmpurile ut_session și ut_tv trebuie să aibă aceeași dimensiune atunci când\n"
235 " sunt compilate pe 32 și 64 de biți. Acest lucru permite partajarea\n"
236 " fișierelor de date și a memoriei partajate între aplicațiile pe 32 și 64 de biți. */\n"
237 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
238 " int32_t ut_session; /* ID-ul sesiunii (\n"
239 "B<getsid>(2)),\n"
240 " utilizat pentru deschiderea ferestrelor */\n"
241 " struct {\n"
242 " int32_t tv_sec; /* Secunde */\n"
243 " int32_t tv_usec; /* Microsecunde */\n"
244 " } ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
245 "#else\n"
246 " long ut_session; /* ID-ul sesiunii */\n"
247 " struct timeval ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
248 "#endif\n"
249 "\\&\n"
250 " int32_t ut_addr_v6[4]; /* Adresa de internet a gazdei de la\n"
251 " distanță; adresa IPv4 folosește\n"
252 " doar ut_addr_v6[0] */\n"
253 " char __unused[20]; /* Rezervat pentru utilizare viitoare */\n"
254 "};\n"
255 "\\&\n"
256 "/* Trucuri de compatibilitate retroactivă */\n"
257 "#define ut_name ut_user\n"
258 "#ifndef _NO_UT_TIME\n"
259 "#define ut_time ut_tv.tv_sec\n"
260 "#endif\n"
261 "#define ut_xtime ut_tv.tv_sec\n"
262 "#define ut_addr ut_addr_v6[0]\n"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "This structure gives the name of the special file associated with the user's "
269 "terminal, the user's login name, and the time of login in the form of "
270 "B<time>(2). String fields are terminated by a null byte (\\[aq]\\[rs]0\\"
271 "[aq]) if they are shorter than the size of the field."
272 msgstr ""
273 "Această structură indică numele fișierului special asociat terminalului "
274 "utilizatorului, numele de autentificare al utilizatorului și ora de "
275 "autentificare sub forma B<time>(2). Câmpurile de tip șir de caractere se "
276 "termină cu un octet nul („\\[rs]0”) dacă sunt mai scurte decât dimensiunea "
277 "câmpului."
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "The first entries ever created result from B<init>(1) processing "
284 "B<inittab>(5). Before an entry is processed, though, B<init>(1) cleans up "
285 "utmp by setting I<ut_type> to B<DEAD_PROCESS>, clearing I<ut_user>, "
286 "I<ut_host>, and I<ut_time> with null bytes for each record which I<ut_type> "
287 "is not B<DEAD_PROCESS> or B<RUN_LVL> and where no process with PID I<ut_pid> "
288 "exists. If no empty record with the needed I<ut_id> can be found, "
289 "B<init>(1) creates a new one. It sets I<ut_id> from the inittab, I<ut_pid> "
290 "and I<ut_time> to the current values, and I<ut_type> to B<INIT_PROCESS>."
291 msgstr ""
292 "Primele intrări care sunt create provin întotdeauna din procesarea de către "
293 "B<init>(1) a lui B<inittab>(5). Totuși, înainte ca o intrare să fie "
294 "procesată, B<init>(1) curăță utmp prin stabilirea lui I<ut_type> la "
295 "B<DEAD_PROCESS>, ștergând I<ut_user>, I<ut_host> și I<ut_time> cu octeți "
296 "nule pentru fiecare înregistrare în care I<ut_type> nu este B<DEAD_PROCESS> "
297 "sau B<RUN_LVL> și în care nu există un proces cu PID I<ut_pid>. În cazul în "
298 "care nu se găsește nici o înregistrare goală cu I<ut_id> necesar, B<init>(1) "
299 "creează una nouă. Definește I<ut_id> din inittab, I<ut_pid> și I<ut_time> la "
300 "valorile curente, iar I<ut_type> la B<INIT_PROCESS>."
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "B<mingetty>(8) (or B<agetty>(8)) locates the entry by the PID, changes "
307 "I<ut_type> to B<LOGIN_PROCESS>, changes I<ut_time>, sets I<ut_line>, and "
308 "waits for connection to be established. B<login>(1), after a user has been "
309 "authenticated, changes I<ut_type> to B<USER_PROCESS>, changes I<ut_time>, "
310 "and sets I<ut_host> and I<ut_addr>. Depending on B<mingetty>(8) (or "
311 "B<agetty>(8)) and B<login>(1), records may be located by I<ut_line> instead "
312 "of the preferable I<ut_pid>."
313 msgstr ""
314 "B<mingetty>(8) (sau B<agetty>(8)) localizează intrarea după PID, schimbă "
315 "I<ut_type> în B<LOGIN_PROCESS>, modifică I<ut_time>, stabilește I<ut_line> "
316 "și așteaptă stabilirea conexiunii. B<login>(1), după ce un utilizator a "
317 "fost autentificat, modifică I<ut_type> în B<USER_PROCESS>, modifică "
318 "I<ut_time> și stabilește I<ut_host> și I<ut_addr>. În funcție de "
319 "B<mingetty>(8) (sau B<agetty>(8)) și B<login>(1), înregistrările pot fi "
320 "localizate prin I<ut_line> în loc de preferabilul I<ut_pid>."
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "When B<init>(1) finds that a process has exited, it locates its utmp entry "
327 "by I<ut_pid>, sets I<ut_type> to B<DEAD_PROCESS>, and clears I<ut_user>, "
328 "I<ut_host>, and I<ut_time> with null bytes."
329 msgstr ""
330 "Când B<init>(1) constată că un proces a ieșit, localizează intrarea utmp "
331 "prin I<ut_pid>, stabilește I<ut_type> la B<DEAD_PROCESS> și golește "
332 "I<ut_user>, I<ut_host> și I<ut_time> cu octeți nuli."
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "B<xterm>(1) and other terminal emulators directly create a B<USER_PROCESS> "
339 "record and generate the I<ut_id> by using the string that suffix part of the "
340 "terminal name (the characters following I</dev/>[pt]I<ty>). If they find a "
341 "B<DEAD_PROCESS> for this ID, they recycle it, otherwise they create a new "
342 "entry. If they can, they will mark it as B<DEAD_PROCESS> on exiting and it "
343 "is advised that they null I<ut_line>, I<ut_time>, I<ut_user>, and I<ut_host> "
344 "as well."
345 msgstr ""
346 "B<xterm>(1) și alte emulatoare de terminale creează direct o înregistrare "
347 "B<USER_PROCESS> și generează I<ut_id> utilizând șirul care sufixează o parte "
348 "din numele terminalului (caracterele care urmează după I</dev/>[pt]I<ty>). "
349 "Dacă găsesc un B<DEAD_PROCESS> pentru acest ID, îl reciclează, în caz "
350 "contrar creează o nouă înregistrare. Dacă pot, o marchează ca "
351 "B<DEAD_PROCESS> la ieșire și se recomandă să completeze I<ut_line>, "
352 "I<ut_time>, I<ut_user> și I<ut_host> cu zerouri, de asemenea."
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "B<telnetd>(8) sets up a B<LOGIN_PROCESS> entry and leaves the rest to "
359 "B<login>(1) as usual. After the telnet session ends, B<telnetd>(8) cleans "
360 "up utmp in the described way."
361 msgstr ""
362 "B<telnetd>(8) stabilește o intrare B<LOGIN_PROCESS> și lasă restul în seama "
363 "lui B<login>(1), ca de obicei. După ce sesiunea telnet se încheie, "
364 "B<telnetd>(8) curăță utmp în modul descris."
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "The I<wtmp> file records all logins and logouts. Its format is exactly like "
371 "I<utmp> except that a null username indicates a logout on the associated "
372 "terminal. Furthermore, the terminal name B<\\[ti]> with username "
373 "B<shutdown> or B<reboot> indicates a system shutdown or reboot and the pair "
374 "of terminal names B<|>/B<}> logs the old/new system time when B<date>(1) "
375 "changes it. I<wtmp> is maintained by B<login>(1), B<init>(1), and some "
376 "versions of B<getty>(8) (e.g., B<mingetty>(8) or B<agetty>(8)). None of "
377 "these programs creates the file, so if it is removed, record-keeping is "
378 "turned off."
379 msgstr ""
380 "Fișierul I<wtmp> înregistrează toate intrările și ieșirile. Formatul său "
381 "este exact ca I<utmp>, cu excepția faptului că un nume de utilizator nul "
382 "indică o deconectare de la terminalul asociat. În plus, numele terminalului "
383 "B<\\[ti]> cu numele de utilizator B<shutdown> sau B<reboot> indică o "
384 "închidere sau o repornire a sistemului, iar perechea de nume de terminale B<|"
385 ">/B<}> înregistrează ora veche/nouă a sistemului atunci când B<date>(1) o "
386 "modifică. I<wtmp> este întreținut de B<login>(1), B<init>(1) și de unele "
387 "versiuni de B<getty>(8) (de exemplu, B<mingetty>(8) sau B<agetty>(8)). Nici "
388 "unul dintre aceste programe nu creează fișierul, astfel încât, dacă este "
389 "eliminat, păstrarea înregistrărilor este oprită."
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "FILES"
396 msgstr "FIȘIERE"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid "I</var/run/utmp>"
402 msgstr "I</var/run/utmp>"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "I</var/log/wtmp>"
408 msgstr "I</var/log/wtmp>"
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "VERSIONS"
415 msgstr "VERSIUNI"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "POSIX.1 does not specify a I<utmp> structure, but rather one named I<utmpx> "
422 "(as part of the XSI extension), with specifications for the fields "
423 "I<ut_type>, I<ut_pid>, I<ut_line>, I<ut_id>, I<ut_user>, and I<ut_tv>. "
424 "POSIX.1 does not specify the lengths of the I<ut_line> and I<ut_user> fields."
425 msgstr ""
426 "POSIX.1 nu specifică o structură I<utmp>, ci una numită I<utmpx> (ca parte a "
427 "extensiei XSI), cu specificații pentru câmpurile I<ut_type>, I<ut_pid>, "
428 "I<ut_line>, I<ut_id>, I<ut_id>, I<ut_user> și I<ut_tv>. POSIX.1 nu specifică "
429 "lungimile câmpurilor I<ut_line> și I<ut_user>."
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "Linux defines the I<utmpx> structure to be the same as the I<utmp> structure."
436 msgstr ""
437 "Linux definește structura I<utmpx> ca fiind aceeași cu structura I<utmp>."
438
439 #. type: SH
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "STANDARDS"
444 msgstr "STANDARDE"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid "Linux."
450 msgstr "Linux."
451
452 #. type: SH
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "HISTORY"
457 msgstr "ISTORIC"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "Linux utmp entries conform neither to v7/BSD nor to System V; they are a mix "
464 "of the two."
465 msgstr ""
466 "Intrările Linux utmp nu sunt conforme nici cu v7/BSD, nici cu System V; ele "
467 "sunt un amestec al celor două."
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "v7/BSD has fewer fields; most importantly it lacks I<ut_type>, which causes "
474 "native v7/BSD-like programs to display (for example) dead or login entries. "
475 "Further, there is no configuration file which allocates slots to sessions. "
476 "BSD does so because it lacks I<ut_id> fields."
477 msgstr ""
478 "v7/BSD are mai puține câmpuri; cel mai important este că nu are I<ut_type>, "
479 "care face ca programele native de tip v7/BSD să afișeze (de exemplu) intrări "
480 "moarte sau de conectare. Mai mult, nu există un fișier de configurare care "
481 "să aloce sloturi pentru sesiuni. BSD face acest lucru deoarece îi lipsesc "
482 "câmpurile I<ut_id>."
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "In Linux (as in System V), the I<ut_id> field of a record will never change "
489 "once it has been set, which reserves that slot without needing a "
490 "configuration file. Clearing I<ut_id> may result in race conditions leading "
491 "to corrupted utmp entries and potential security holes. Clearing the "
492 "abovementioned fields by filling them with null bytes is not required by "
493 "System V semantics, but makes it possible to run many programs which assume "
494 "BSD semantics and which do not modify utmp. Linux uses the BSD conventions "
495 "for line contents, as documented above."
496 msgstr ""
497 "În Linux (ca și în System V), câmpul I<ut_id> al unei înregistrări nu se va "
498 "schimba niciodată odată ce a fost definit, ceea ce rezervă acel slot fără a "
499 "fi nevoie de un fișier de configurare. Ștergerea câmpului I<ut_id> poate "
500 "duce la condiții de competiție de date care să conducă la intrări utmp "
501 "corupte și la potențiale găuri de securitate. Ștergerea câmpurilor "
502 "menționate mai sus prin umplerea lor cu octeți nuli nu este cerută de "
503 "semantica System V, dar face posibilă rularea multor programe care presupun "
504 "semantica BSD și care nu modifică utmp. Linux utilizează convențiile BSD "
505 "pentru conținutul liniilor, așa cum este documentat mai sus."
506
507 #. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
508 #. mtk: What is the referrent of "them" in the following sentence?
509 #. System V only uses the type field to mark them and logs
510 #. informative messages such as \f[B]"new time"\f[] in the line field.
511 #. type: Plain text
512 #. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
513 #. mtk: What is the referrent of "them" in the following sentence?
514 #. System V only uses the type field to mark them and logs
515 #. informative messages such as \fB"new time"\fP in the line field.
516 #. type: Plain text
517 #. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
518 #. mtk: What is the referrent of "them" in the following sentence?
519 #. System V only uses the type field to mark them and logs
520 #. informative messages such as \f[B]"new time"\f[] in the line field.
521 #. type: Plain text
522 #. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
523 #. mtk: What is the referrent of "them" in the following sentence?
524 #. System V only uses the type field to mark them and logs
525 #. informative messages such as \fB"new time"\fP in the line field.
526 #. type: Plain text
527 #. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
528 #. mtk: What is the referrent of "them" in the following sentence?
529 #. System V only uses the type field to mark them and logs
530 #. informative messages such as \fB"new time"\fP in the line field.
531 #. type: Plain text
532 #. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
533 #. mtk: What is the referrent of "them" in the following sentence?
534 #. System V only uses the type field to mark them and logs
535 #. informative messages such as \f[B]"new time"\f[] in the line field.
536 #. type: Plain text
537 #. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
538 #. mtk: What is the referrent of "them" in the following sentence?
539 #. System V only uses the type field to mark them and logs
540 #. informative messages such as \f[B]"new time"\f[] in the line field.
541 #. type: Plain text
542 #. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
543 #. mtk: What is the referrent of "them" in the following sentence?
544 #. System V only uses the type field to mark them and logs
545 #. informative messages such as \f[B]"new time"\f[] in the line field.
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid "System V has no I<ut_host> or I<ut_addr_v6> fields."
550 msgstr "System V nu are câmpurile I<ut_host> sau I<ut_addr_v6>."
551
552 #. type: SH
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "NOTES"
557 msgstr "NOTE"
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "Unlike various other systems, where utmp logging can be disabled by removing "
564 "the file, utmp must always exist on Linux. If you want to disable "
565 "B<who>(1), then do not make utmp world readable."
566 msgstr ""
567 "Spre deosebire de alte sisteme, unde jurnalizarea utmp poate fi dezactivată "
568 "prin eliminarea fișierului, utmp trebuie să existe întotdeauna pe Linux. "
569 "Dacă doriți să dezactivați B<who>(1), nu faceți ca utmp să poată fi citit de "
570 "toată lumea."
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "The file format is machine-dependent, so it is recommended that it be "
577 "processed only on the machine architecture where it was created."
578 msgstr ""
579 "Formatul fișierului este dependent de mașină, astfel încât se recomandă ca "
580 "acesta să fie procesat numai pe arhitectura mașinii pe care a fost creat."
581
582 #. type: Plain text
583 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
584 #: opensuse-tumbleweed
585 msgid ""
586 "Note that on I<biarch> platforms, that is, systems which can run both 32-bit "
587 "and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same "
588 "size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and "
589 "I<ut_time> if they are present. This allows data files and shared memory to "
590 "be shared between 32-bit and 64-bit applications. This is achieved by "
591 "changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a "
592 "struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> "
593 "may not be the same as I<struct\\ timeval>, then instead of the call:"
594 msgstr ""
595 "Rețineți că pe platformele I<biarch>, adică pe sistemele care pot rula atât "
596 "aplicații pe 32 de biți, cât și pe 64 de biți (x86-64, ppc64, s390x etc.), "
597 "I<ut_tv> are aceeași dimensiune în modul pe 32 de biți ca și în modul pe 64 "
598 "de biți. Același lucru este valabil și pentru I<ut_session> și I<ut_time>, "
599 "dacă acestea sunt prezente. Acest lucru permite ca fișierele de date și "
600 "memoria partajată să fie partajate între aplicațiile pe 32 și 64 de biți. "
601 "Acest lucru se realizează prin schimbarea tipului lui I<ut_session> în "
602 "I<int32_t>, iar cel al lui I<ut_tv> într-o structură cu două câmpuri "
603 "I<int32_t> I<tv_sec> și I<tv_usec>. Deoarece I<ut_tv> poate să nu fie "
604 "același lucru cu I<struct\\ timeval>, atunci în loc de apelul:"
605
606 #. type: Plain text
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n"
611 msgstr "gettimeofday((struct timeval *) &ut.ut_tv, NULL);\n"
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "the following method of setting this field is recommended:"
617 msgstr "se recomandă următoarea metodă de definire a acestui câmp:"
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 #, no-wrap
623 msgid ""
624 "struct utmp ut;\n"
625 "struct timeval tv;\n"
626 "\\&\n"
627 "gettimeofday(&tv, NULL);\n"
628 "ut.ut_tv.tv_sec = tv.tv_sec;\n"
629 "ut.ut_tv.tv_usec = tv.tv_usec;\n"
630 msgstr ""
631 "struct utmp ut;\n"
632 "struct timeval tv;\n"
633 "\\&\n"
634 "gettimeofday(&tv, NULL);\n"
635 "ut.ut_tv.tv_sec = tv.tv_sec;\n"
636 "ut.ut_tv.tv_usec = tv.tv_usec;\n"
637
638 #. #-#-#-#-# archlinux: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
639 #. .P
640 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
641 #. Because of this,
642 #. binaries using the old libc5 struct will corrupt
643 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
644 #. .SH BUGS
645 #. This man page is based on the libc5 one, things may work differently now.
646 #. type: SH
647 #. #-#-#-#-# debian-trixie: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
648 #. .P
649 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
650 #. Because of this,
651 #. binaries using the old libc5 struct will corrupt
652 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
653 #. .SH BUGS
654 #. This man page is based on the libc5 one, things may work differently now.
655 #. type: SH
656 #. #-#-#-#-# debian-unstable: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
657 #. .P
658 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
659 #. Because of this,
660 #. binaries using the old libc5 struct will corrupt
661 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
662 #. .SH BUGS
663 #. This man page is based on the libc5 one, things may work differently now.
664 #. type: SH
665 #. #-#-#-#-# fedora-44: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
666 #. .P
667 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
668 #. Because of this,
669 #. binaries using the old libc5 struct will corrupt
670 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
671 #. .SH BUGS
672 #. This man page is based on the libc5 one, things may work differently now.
673 #. type: SH
674 #. #-#-#-#-# fedora-rawhide: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
675 #. .P
676 #. Note that the \fIutmp\fP struct from libc5 has changed in libc6.
677 #. Because of this,
678 #. binaries using the old libc5 struct will corrupt
679 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
680 #. .SH BUGS
681 #. This man page is based on the libc5 one, things may work differently now.
682 #. type: SH
683 #. #-#-#-#-# mageia-cauldron: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
684 #. .P
685 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
686 #. Because of this,
687 #. binaries using the old libc5 struct will corrupt
688 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
689 #. .SH BUGS
690 #. This man page is based on the libc5 one, things may work differently now.
691 #. type: SH
692 #. #-#-#-#-# opensuse-leap-16-1: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
693 #. .P
694 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
695 #. Because of this,
696 #. binaries using the old libc5 struct will corrupt
697 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
698 #. .SH BUGS
699 #. This man page is based on the libc5 one, things may work differently now.
700 #. type: SH
701 #. #-#-#-#-# opensuse-tumbleweed: utmp.5.pot (PACKAGE VERSION) #-#-#-#-#
702 #. .P
703 #. Note that the \f[I]utmp\f[] struct from libc5 has changed in libc6.
704 #. Because of this,
705 #. binaries using the old libc5 struct will corrupt
706 #. .IR /var/run/utmp " and/or " /var/log/wtmp .
707 #. .SH BUGS
708 #. This man page is based on the libc5 one, things may work differently now.
709 #. type: SH
710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
712 #, no-wrap
713 msgid "SEE ALSO"
714 msgstr "CONSULTAȚI ȘI"
715
716 #. type: Plain text
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 msgid ""
720 "B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), "
721 "B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), "
722 "B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)"
723 msgstr ""
724 "B<ac>(1), B<date>(1), B<init>(1), B<last>(1), B<login>(1), B<logname>(1), "
725 "B<lslogins>(1), B<users>(1), B<utmpdump>(1), B<who>(1), B<getutent>(3), "
726 "B<getutmp>(3), B<login>(3), B<logout>(3), B<logwtmp>(3), B<updwtmp>(3)"
727
728 #. type: TH
729 #: debian-trixie
730 #, no-wrap
731 msgid "2024-06-15"
732 msgstr "15 iunie 2024"
733
734 #. type: TH
735 #: debian-trixie
736 #, no-wrap
737 msgid "Linux man-pages 6.9.1"
738 msgstr "Pagini de manual de Linux 6.9.1"
739
740 #. type: Plain text
741 #: debian-trixie
742 #, no-wrap
743 msgid ""
744 "/* Values for ut_type field, below */\n"
745 "\\&\n"
746 "#define EMPTY 0 /* Record does not contain valid info\n"
747 " (formerly known as UT_UNKNOWN on Linux) */\n"
748 "#define RUN_LVL 1 /* Change in system run-level (see\n"
749 " B<init>(1)) */\n"
750 "#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n"
751 "#define NEW_TIME 3 /* Time after system clock change\n"
752 " (in I<ut_tv>) */\n"
753 "#define OLD_TIME 4 /* Time before system clock change\n"
754 " (in I<ut_tv>) */\n"
755 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1) */\n"
756 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
757 "#define USER_PROCESS 7 /* Normal process */\n"
758 "#define DEAD_PROCESS 8 /* Terminated process */\n"
759 "#define ACCOUNTING 9 /* Not implemented */\n"
760 "\\&\n"
761 "#define UT_LINESIZE 32\n"
762 "#define UT_NAMESIZE 32\n"
763 "#define UT_HOSTSIZE 256\n"
764 "\\&\n"
765 "struct exit_status { /* Type for ut_exit, below */\n"
766 " short e_termination; /* Process termination status */\n"
767 " short e_exit; /* Process exit status */\n"
768 "};\n"
769 "\\&\n"
770 "struct utmp {\n"
771 " short ut_type; /* Type of record */\n"
772 " pid_t ut_pid; /* PID of login process */\n"
773 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
774 " char ut_id[4]; /* Terminal name suffix,\n"
775 " or inittab(5) ID */\n"
776 " char ut_user[UT_NAMESIZE]; /* Username */\n"
777 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
778 " kernel version for run-level\n"
779 " messages */\n"
780 " struct exit_status ut_exit; /* Exit status of a process\n"
781 " marked as DEAD_PROCESS; not\n"
782 " used by Linux init(1) */\n"
783 " /* The ut_session and ut_tv fields must be the same size when\n"
784 " compiled 32- and 64-bit. This allows data files and shared\n"
785 " memory to be shared between 32- and 64-bit applications. */\n"
786 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
787 " int32_t ut_session; /* Session ID (B<getsid>(2)),\n"
788 " used for windowing */\n"
789 " struct {\n"
790 " int32_t tv_sec; /* Seconds */\n"
791 " int32_t tv_usec; /* Microseconds */\n"
792 " } ut_tv; /* Time entry was made */\n"
793 "#else\n"
794 " long ut_session; /* Session ID */\n"
795 " struct timeval ut_tv; /* Time entry was made */\n"
796 "#endif\n"
797 "\\&\n"
798 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
799 " host; IPv4 address uses\n"
800 " just ut_addr_v6[0] */\n"
801 " char __unused[20]; /* Reserved for future use */\n"
802 "};\n"
803 "\\&\n"
804 "/* Backward compatibility hacks */\n"
805 "#define ut_name ut_user\n"
806 "#ifndef _NO_UT_TIME\n"
807 "#define ut_time ut_tv.tv_sec\n"
808 "#endif\n"
809 "#define ut_xtime ut_tv.tv_sec\n"
810 "#define ut_addr ut_addr_v6[0]\n"
811 msgstr ""
812 "/* Valori pentru câmpul ut_type, de mai jos */\n"
813 "\\&\n"
814 "#define EMPTY 0 /* Înregistrarea nu conține informații valide\n"
815 " (cunoscută anterior ca UT_UNKNOWN pe Linux) */\n"
816 "#define RUN_LVL 1 /* Schimbarea nivelului de execuție a sistemului (a se vedea\n"
817 " B<init>(1)) */\n"
818 "#define BOOT_TIME 2 /* Timpul de pornire a sistemului (în I<ut_tv>) */\n"
819 "#define NEW_TIME 3 /* Timpul după schimbarea ceasului sistemului\n"
820 " (în I<ut_tv>) */\n"
821 "#define OLD_TIME 4 /* Timpul înainte de schimbarea ceasului sistemului\n"
822 " (în I<ut_tv>) */\n"
823 "#define INIT_PROCESS 5 /* Proces generat de B<init>(1) */\n"
824 "#define LOGIN_PROCESS 6 /* Proces de lider de sesiune pentru autentificarea utilizatorului */\n"
825 "#define USER_PROCESS 7 /* Proces normal */\n"
826 "#define DEAD_PROCESS 8 /* Proces terminat */\n"
827 "#define ACCOUNTING 9 /* Neimplementat */\n"
828 "\\&\n"
829 "#define UT_LINESIZE 32\n"
830 "#define UT_NAMESIZE 32\n"
831 "#define UT_HOSTSIZE 256\n"
832 "\\&\n"
833 "struct exit_status { /* Tip pentru ut_exit, de mai jos */\n"
834 " short e_termination; /* Starea de terminare a procesului */\n"
835 " short e_exit; /* Starea de ieșire a procesului */\n"
836 "};\n"
837 "\\&\n"
838 "struct utmp {\n"
839 " short ut_type; /* Tipul de înregistrare */\n"
840 " pid_t ut_pid; /* PID-ul procesului de autentificare */\n"
841 " char ut_line[UT_LINESIZE]; /* Numele dispozitivului tty - „/dev/” */\n"
842 " char ut_id[4]; /* Sufixul numelui terminalului,\n"
843 " sau ID-ul inittab(5) */\n"
844 " char ut_user[UT_NAMESIZE]; /* Nume utilizator */\n"
845 " char ut_host[UT_HOSTSIZE]; /* Numele de gazdă pentru autentificarea de la distanță\n"
846 " sau versiunea nucleului pentru mesajele de la\n"
847 " nivelul de execuție */\n"
848 " struct exit_status ut_exit; /* Starea de ieșire a unui proces\n"
849 " marcat ca DEAD_PROCESS; nu\n"
850 " este utilizat de Linux init(1) */\n"
851 " /* Câmpurile ut_session și ut_tv trebuie să aibă aceeași dimensiune atunci când\n"
852 " sunt compilate pe 32 și 64 de biți. Acest lucru permite partajarea\n"
853 " fișierelor de date și a memoriei partajate între aplicațiile pe 32 și 64 de biți. */\n"
854 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
855 " int32_t ut_session; /* ID-ul sesiunii (B<getsid>(2)),\n"
856 " utilizat pentru deschiderea ferestrelor */\n"
857 " struct {\n"
858 " int32_t tv_sec; /* Secunde */\n"
859 " int32_t tv_usec; /* Microsecunde */\n"
860 " } ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
861 "#else\n"
862 " long ut_session; /* ID-ul sesiunii */\n"
863 " struct timeval ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
864 "#endif\n"
865 "\\&\n"
866 " int32_t ut_addr_v6[4]; /* Adresa de internet a gazdei de la\n"
867 " distanță; adresa IPv4 folosește\n"
868 " doar ut_addr_v6[0] */\n"
869 " char __unused[20]; /* Rezervat pentru utilizare viitoare */\n"
870 "};\n"
871 "\\&\n"
872 "/* Trucuri de compatibilitate retroactivă */\n"
873 "#define ut_name ut_user\n"
874 "#ifndef _NO_UT_TIME\n"
875 "#define ut_time ut_tv.tv_sec\n"
876 "#endif\n"
877 "#define ut_xtime ut_tv.tv_sec\n"
878 "#define ut_addr ut_addr_v6[0]\n"
879
880 #. type: Plain text
881 #: debian-trixie fedora-44 fedora-rawhide
882 msgid ""
883 "Note that on I<biarch> platforms, that is, systems which can run both 32-bit "
884 "and 64-bit applications (x86-64, ppc64, s390x, etc.), I<ut_tv> is the same "
885 "size in 32-bit mode as in 64-bit mode. The same goes for I<ut_session> and "
886 "I<ut_time> if they are present. This allows data files and shared memory to "
887 "be shared between 32-bit and 64-bit applications. This is achieved by "
888 "changing the type of I<ut_session> to I<int32_t>, and that of I<ut_tv> to a "
889 "struct with two I<int32_t> fields I<tv_sec> and I<tv_usec>. Since I<ut_tv> "
890 "may not be the same as I<struct timeval>, then instead of the call:"
891 msgstr ""
892 "Rețineți că pe platformele I<biarch>, adică pe sistemele care pot rula atât "
893 "aplicații pe 32 de biți, cât și pe 64 de biți (x86-64, ppc64, s390x etc.), "
894 "I<ut_tv> are aceeași dimensiune în modul pe 32 de biți ca și în modul pe 64 "
895 "de biți. Același lucru este valabil și pentru I<ut_session> și I<ut_time>, "
896 "dacă acestea sunt prezente. Acest lucru permite ca fișierele de date și "
897 "memoria partajată să fie partajate între aplicațiile pe 32 și 64 de biți. "
898 "Acest lucru se realizează prin schimbarea tipului lui I<ut_session> în "
899 "I<int32_t>, iar cel al lui I<ut_tv> într-o structură cu două câmpuri "
900 "I<int32_t> I<tv_sec> și I<tv_usec>. Deoarece I<ut_tv> poate să nu fie "
901 "același lucru cu I<struct timeval>, atunci în loc de apelul:"
902
903 #. type: TH
904 #: fedora-44 fedora-rawhide
905 #, no-wrap
906 msgid "2024-09-01"
907 msgstr "1 septembrie 2024"
908
909 #. type: TH
910 #: fedora-44 fedora-rawhide
911 #, no-wrap
912 msgid "Linux man-pages 6.13"
913 msgstr "Pagini de manual de Linux 6.13"
914
915 #. type: Plain text
916 #: fedora-44 fedora-rawhide
917 #, no-wrap
918 msgid ""
919 "/* Values for ut_type field, below */\n"
920 "\\&\n"
921 "#define EMPTY 0 /* Record does not contain valid info\n"
922 " (formerly known as UT_UNKNOWN on Linux) */\n"
923 "#define RUN_LVL 1 /* Change in system run-level (see\n"
924 " B<init>(1))\\ \n"
925 "*/\n"
926 "#define BOOT_TIME 2 /* Time of system boot (in I<ut_tv>) */\n"
927 "#define NEW_TIME 3 /* Time after system clock change\n"
928 " (in I<ut_tv>) */\n"
929 "#define OLD_TIME 4 /* Time before system clock change\n"
930 " (in I<ut_tv>) */\n"
931 "#define INIT_PROCESS 5 /* Process spawned by B<init>(1)\\ \n"
932 "*/\n"
933 "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n"
934 "#define USER_PROCESS 7 /* Normal process */\n"
935 "#define DEAD_PROCESS 8 /* Terminated process */\n"
936 "#define ACCOUNTING 9 /* Not implemented */\n"
937 "\\&\n"
938 "#define UT_LINESIZE 32\n"
939 "#define UT_NAMESIZE 32\n"
940 "#define UT_HOSTSIZE 256\n"
941 "\\&\n"
942 "struct exit_status { /* Type for ut_exit, below */\n"
943 " short e_termination; /* Process termination status */\n"
944 " short e_exit; /* Process exit status */\n"
945 "};\n"
946 "\\&\n"
947 "struct utmp {\n"
948 " short ut_type; /* Type of record */\n"
949 " pid_t ut_pid; /* PID of login process */\n"
950 " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n"
951 " char ut_id[4]; /* Terminal name suffix,\n"
952 " or inittab(5) ID */\n"
953 " char ut_user[UT_NAMESIZE]; /* Username */\n"
954 " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n"
955 " kernel version for run-level\n"
956 " messages */\n"
957 " struct exit_status ut_exit; /* Exit status of a process\n"
958 " marked as DEAD_PROCESS; not\n"
959 " used by Linux B<init>(1)\\ \n"
960 "*/\n"
961 " /* The ut_session and ut_tv fields must be the same size when\n"
962 " compiled 32- and 64-bit. This allows data files and shared\n"
963 " memory to be shared between 32- and 64-bit applications. */\n"
964 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
965 " int32_t ut_session; /* Session ID (\n"
966 "B<getsid>(2)B<),>\n"
967 " used for windowing */\n"
968 " struct {\n"
969 " int32_t tv_sec; /* Seconds */\n"
970 " int32_t tv_usec; /* Microseconds */\n"
971 " } ut_tv; /* Time entry was made */\n"
972 "#else\n"
973 " long ut_session; /* Session ID */\n"
974 " struct timeval ut_tv; /* Time entry was made */\n"
975 "#endif\n"
976 "\\&\n"
977 " int32_t ut_addr_v6[4]; /* Internet address of remote\n"
978 " host; IPv4 address uses\n"
979 " just ut_addr_v6[0] */\n"
980 " char __unused[20]; /* Reserved for future use */\n"
981 "};\n"
982 "\\&\n"
983 "/* Backward compatibility hacks */\n"
984 "#define ut_name ut_user\n"
985 "#ifndef _NO_UT_TIME\n"
986 "#define ut_time ut_tv.tv_sec\n"
987 "#endif\n"
988 "#define ut_xtime ut_tv.tv_sec\n"
989 "#define ut_addr ut_addr_v6[0]\n"
990 msgstr ""
991 "/* Valori pentru câmpul ut_type, de mai jos */\n"
992 "\\&\n"
993 "#define EMPTY 0 /* Înregistrarea nu conține informații valide\n"
994 " (cunoscută anterior ca UT_UNKNOWN pe Linux) */\n"
995 "#define RUN_LVL 1 /* Schimbarea nivelului de execuție a sistemului (a se vedea\n"
996 " B<init>(1)) \n"
997 "*/\n"
998 "#define BOOT_TIME 2 /* Timpul de pornire a sistemului (în I<ut_tv>) */\n"
999 "#define NEW_TIME 3 /* Timpul după schimbarea ceasului sistemului\n"
1000 " (în I<ut_tv>) */\n"
1001 "#define OLD_TIME 4 /* Timpul înainte de schimbarea ceasului sistemului\n"
1002 " (în I<ut_tv>) */\n"
1003 "#define INIT_PROCESS 5 /* Proces generat de B<init>(1) \n"
1004 "*/\n"
1005 "#define LOGIN_PROCESS 6 /* Proces de lider de sesiune pentru autentificarea utilizatorului */\n"
1006 "#define USER_PROCESS 7 /* Proces normal */\n"
1007 "#define DEAD_PROCESS 8 /* Proces terminat */\n"
1008 "#define ACCOUNTING 9 /* Neimplementat */\n"
1009 "\\&\n"
1010 "#define UT_LINESIZE 32\n"
1011 "#define UT_NAMESIZE 32\n"
1012 "#define UT_HOSTSIZE 256\n"
1013 "\\&\n"
1014 "struct exit_status { /* Tip pentru ut_exit, de mai jos */\n"
1015 " short e_termination; /* Starea de terminare a procesului */\n"
1016 " short e_exit; /* Starea de ieșire a procesului */\n"
1017 "};\n"
1018 "\\&\n"
1019 "struct utmp {\n"
1020 " short ut_type; /* Tipul de înregistrare */\n"
1021 " pid_t ut_pid; /* PID-ul procesului de autentificare */\n"
1022 " char ut_line[UT_LINESIZE]; /* Numele dispozitivului tty - „/dev/” */\n"
1023 " char ut_id[4]; /* Sufixul numelui terminalului,\n"
1024 " sau ID-ul inittab(5) */\n"
1025 " char ut_user[UT_NAMESIZE]; /* Nume utilizator */\n"
1026 " char ut_host[UT_HOSTSIZE]; /* Numele de gazdă pentru autentificarea de la distanță\n"
1027 " sau versiunea nucleului pentru mesajele de la\n"
1028 " nivelul de execuție */\n"
1029 " struct exit_status ut_exit; /* Starea de ieșire a unui proces\n"
1030 " marcat ca DEAD_PROCESS; nu\n"
1031 " este utilizat de Linux B<init>(1) \n"
1032 "*/\n"
1033 " /* Câmpurile ut_session și ut_tv trebuie să aibă aceeași dimensiune atunci când\n"
1034 " sunt compilate pe 32 și 64 de biți. Acest lucru permite partajarea\n"
1035 " fișierelor de date și a memoriei partajate între aplicațiile pe 32 și 64 de biți. */\n"
1036 "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n"
1037 " int32_t ut_session; /* ID-ul sesiunii (B<getsid>(2)),\n"
1038 " utilizat pentru deschiderea ferestrelor */\n"
1039 " struct {\n"
1040 " int32_t tv_sec; /* Secunde */\n"
1041 " int32_t tv_usec; /* Microsecunde */\n"
1042 " } ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
1043 "#else\n"
1044 " long ut_session; /* ID-ul sesiunii */\n"
1045 " struct timeval ut_tv; /* Ora la care s-a făcut înregistrarea */\n"
1046 "#endif\n"
1047 "\\&\n"
1048 " int32_t ut_addr_v6[4]; /* Adresa de internet a gazdei de la\n"
1049 " distanță; adresa IPv4 folosește\n"
1050 " doar ut_addr_v6[0] */\n"
1051 " char __unused[20]; /* Rezervat pentru utilizare viitoare */\n"
1052 "};\n"
1053 "\\&\n"
1054 "/* Trucuri de compatibilitate retroactivă */\n"
1055 "#define ut_name ut_user\n"
1056 "#ifndef _NO_UT_TIME\n"
1057 "#define ut_time ut_tv.tv_sec\n"
1058 "#endif\n"
1059 "#define ut_xtime ut_tv.tv_sec\n"
1060 "#define ut_addr ut_addr_v6[0]\n"
1061
1062 #. type: TH
1063 #: mageia-cauldron
1064 #, no-wrap
1065 msgid "Linux man-pages 6.17"
1066 msgstr "Pagini de manual de Linux 6.17"
1067
1068 #. type: TH
1069 #: opensuse-leap-16-1 opensuse-tumbleweed
1070 #, no-wrap
1071 msgid "Linux man-pages (unreleased)"
1072 msgstr "Pagini de manual Linux (nepublicate)"