Debian Codegraph @

po/ar/man5/utmp.5.po

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