# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2024-03-01 17:13+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "utmp" msgstr "" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "" #. type: TH #: archlinux fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "utmp, wtmp - login records" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Eutmp.hE>\n" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The I file allows one to discover information about who is currently " "using the system. There may be more users currently using the system, " "because not all programs use utmp logging." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B I must not be writable by the user class \"other\", " "because many system programs (foolishly) depend on its integrity. You risk " "faked system logfiles and modifications of system files if you leave I " "writable to any user other than the owner and group owner of the file." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The file is a sequence of I structures, declared as follows in " "Iutmp.hE> (note that this is only one of several definitions " "around; details depend on the version of libc):" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid "" "/* Values for ut_type field, below */\n" "\\&\n" "#define EMPTY 0 /* Record does not contain valid info\n" " (formerly known as UT_UNKNOWN on Linux) */\n" "#define RUN_LVL 1 /* Change in system run-level (see\n" " B(1)) */\n" "#define BOOT_TIME 2 /* Time of system boot (in I) */\n" "#define NEW_TIME 3 /* Time after system clock change\n" " (in I) */\n" "#define OLD_TIME 4 /* Time before system clock change\n" " (in I) */\n" "#define INIT_PROCESS 5 /* Process spawned by B(1) */\n" "#define LOGIN_PROCESS 6 /* Session leader process for user login */\n" "#define USER_PROCESS 7 /* Normal process */\n" "#define DEAD_PROCESS 8 /* Terminated process */\n" "#define ACCOUNTING 9 /* Not implemented */\n" "\\&\n" "#define UT_LINESIZE 32\n" "#define UT_NAMESIZE 32\n" "#define UT_HOSTSIZE 256\n" "\\&\n" "struct exit_status { /* Type for ut_exit, below */\n" " short e_termination; /* Process termination status */\n" " short e_exit; /* Process exit status */\n" "};\n" "\\&\n" "struct utmp {\n" " short ut_type; /* Type of record */\n" " pid_t ut_pid; /* PID of login process */\n" " char ut_line[UT_LINESIZE]; /* Device name of tty - \"/dev/\" */\n" " char ut_id[4]; /* Terminal name suffix,\n" " or inittab(5) ID */\n" " char ut_user[UT_NAMESIZE]; /* Username */\n" " char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or\n" " kernel version for run-level\n" " messages */\n" " struct exit_status ut_exit; /* Exit status of a process\n" " marked as DEAD_PROCESS; not\n" " used by Linux init(1) */\n" " /* The ut_session and ut_tv fields must be the same size when\n" " compiled 32- and 64-bit. This allows data files and shared\n" " memory to be shared between 32- and 64-bit applications. */\n" "#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32\n" " int32_t ut_session; /* Session ID (B(2)),\n" " used for windowing */\n" " struct {\n" " int32_t tv_sec; /* Seconds */\n" " int32_t tv_usec; /* Microseconds */\n" " } ut_tv; /* Time entry was made */\n" "#else\n" " long ut_session; /* Session ID */\n" " struct timeval ut_tv; /* Time entry was made */\n" "#endif\n" "\\&\n" " int32_t ut_addr_v6[4]; /* Internet address of remote\n" " host; IPv4 address uses\n" " just ut_addr_v6[0] */\n" " char __unused[20]; /* Reserved for future use */\n" "};\n" "\\&\n" "/* Backward compatibility hacks */\n" "#define ut_name ut_user\n" "#ifndef _NO_UT_TIME\n" "#define ut_time ut_tv.tv_sec\n" "#endif\n" "#define ut_xtime ut_tv.tv_sec\n" "#define ut_addr ut_addr_v6[0]\n" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "This structure gives the name of the special file associated with the user's " "terminal, the user's login name, and the time of login in the form of " "B