| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:30+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "login" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "login, logout - write utmp and wtmp entries" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "System utilities library (I<libutil>,\\ I<-lutil>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>utmp.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<void login(const struct utmp *>I<ut>B<);>\n" |
| 85 |
"B<int logout(const char *>I<ut_line>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 97 |
#: opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"The I<utmp> file records who is currently using the system. The I<wtmp> " |
| 100 |
"file records all logins and logouts. See B<utmp>(5)." |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 105 |
#: opensuse-tumbleweed |
| 106 |
msgid "" |
| 107 |
"The function B<login>() takes the supplied I<struct utmp>, I<ut>, and " |
| 108 |
"writes it to both the I<utmp> and the I<wtmp> file." |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 113 |
#: opensuse-tumbleweed |
| 114 |
msgid "The function B<logout>() clears the entry in the I<utmp> file again." |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#. type: SS |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
#, no-wrap |
| 121 |
msgid "GNU details" |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 126 |
#: opensuse-tumbleweed |
| 127 |
msgid "" |
| 128 |
"More precisely, B<login>() takes the argument I<ut> struct, fills the field " |
| 129 |
"I<ut-E<gt>ut_type> (if there is such a field) with the value " |
| 130 |
"B<USER_PROCESS>, and fills the field I<ut-E<gt>ut_pid> (if there is such a " |
| 131 |
"field) with the process ID of the calling process. Then it tries to fill " |
| 132 |
"the field I<ut-E<gt>ut_line>. It takes the first of I<stdin>, I<stdout>, " |
| 133 |
"I<stderr> that is a terminal, and stores the corresponding pathname minus a " |
| 134 |
"possible leading I</dev/> into this field, and then writes the struct to the " |
| 135 |
"I<utmp> file. On the other hand, if no terminal name was found, this field " |
| 136 |
"is filled with \"???\" and the struct is not written to the I<utmp> file. " |
| 137 |
"After this, the struct is written to the I<wtmp> file." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 142 |
#: opensuse-tumbleweed |
| 143 |
msgid "" |
| 144 |
"The B<logout>() function searches the I<utmp> file for an entry matching " |
| 145 |
"the I<ut_line> argument. If a record is found, it is updated by zeroing out " |
| 146 |
"the I<ut_name> and I<ut_host> fields, updating the I<ut_tv> timestamp field " |
| 147 |
"and setting I<ut_type> (if there is such a field) to B<DEAD_PROCESS>." |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: SH |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "RETURN VALUE" |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"The B<logout>() function returns 1 if the entry was successfully written to " |
| 162 |
"the database, or 0 if an error occurred." |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: SH |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "FILES" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: TP |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "I</var/run/utmp>" |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"user accounting database, configured through B<_PATH_UTMP> in " |
| 184 |
"I<E<lt>paths.hE<gt>>" |
| 185 |
msgstr "" |
| 186 |
|
| 187 |
#. type: TP |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
#, no-wrap |
| 191 |
msgid "I</var/log/wtmp>" |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"user accounting log file, configured through B<_PATH_WTMP> in " |
| 199 |
"I<E<lt>paths.hE<gt>>" |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: SH |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
#, no-wrap |
| 206 |
msgid "ATTRIBUTES" |
| 207 |
msgstr "" |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "" |
| 213 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: tbl table |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "Interface" |
| 221 |
msgstr "" |
| 222 |
|
| 223 |
#. type: tbl table |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
#, no-wrap |
| 227 |
msgid "Attribute" |
| 228 |
msgstr "" |
| 229 |
|
| 230 |
#. type: tbl table |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
#, no-wrap |
| 234 |
msgid "Value" |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: tbl table |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid ".na\n" |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: tbl table |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
#, no-wrap |
| 248 |
msgid ".nh\n" |
| 249 |
msgstr "" |
| 250 |
|
| 251 |
#. type: tbl table |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "" |
| 256 |
"B<login>(),\n" |
| 257 |
"B<logout>()" |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: tbl table |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "Thread safety" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: tbl table |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "" |
| 272 |
"MT-Unsafe race:utent\n" |
| 273 |
"sig:ALRM timer" |
| 274 |
msgstr "" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "" |
| 280 |
"In the above table, I<utent> in I<race:utent> signifies that if any of the " |
| 281 |
"functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in " |
| 282 |
"parallel in different threads of a program, then data races could occur. " |
| 283 |
"B<login>() and B<logout>() calls those functions, so we use race:utent to " |
| 284 |
"remind users." |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: SH |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
#, no-wrap |
| 291 |
msgid "VERSIONS" |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
msgid "" |
| 298 |
"The member I<ut_user> of I<struct utmp> is called I<ut_name> in BSD. " |
| 299 |
"Therefore, I<ut_name> is defined as an alias for I<ut_user> in " |
| 300 |
"I<E<lt>utmp.hE<gt>>." |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: SH |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "STANDARDS" |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: Plain text |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
msgid "BSD." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: SH |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "SEE ALSO" |
| 321 |
msgstr "" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
msgid "B<getutent>(3), B<utmp>(5)" |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: TH |
| 330 |
#: debian-trixie |
| 331 |
#, no-wrap |
| 332 |
msgid "2024-05-02" |
| 333 |
msgstr "" |
| 334 |
|
| 335 |
#. type: TH |
| 336 |
#: debian-trixie |
| 337 |
#, no-wrap |
| 338 |
msgid "Linux man-pages 6.9.1" |
| 339 |
msgstr "" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: debian-trixie |
| 343 |
msgid "System utilities library (I<libutil>, I<-lutil>)" |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: debian-trixie fedora-44 fedora-rawhide |
| 348 |
msgid "" |
| 349 |
"The utmp file records who is currently using the system. The wtmp file " |
| 350 |
"records all logins and logouts. See B<utmp>(5)." |
| 351 |
msgstr "" |
| 352 |
|
| 353 |
#. type: Plain text |
| 354 |
#: debian-trixie fedora-44 fedora-rawhide |
| 355 |
msgid "" |
| 356 |
"The function B<login>() takes the supplied I<struct utmp>, I<ut>, and " |
| 357 |
"writes it to both the utmp and the wtmp file." |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: debian-trixie fedora-44 fedora-rawhide |
| 362 |
msgid "The function B<logout>() clears the entry in the utmp file again." |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: debian-trixie fedora-44 fedora-rawhide |
| 367 |
msgid "" |
| 368 |
"More precisely, B<login>() takes the argument I<ut> struct, fills the field " |
| 369 |
"I<ut-E<gt>ut_type> (if there is such a field) with the value " |
| 370 |
"B<USER_PROCESS>, and fills the field I<ut-E<gt>ut_pid> (if there is such a " |
| 371 |
"field) with the process ID of the calling process. Then it tries to fill " |
| 372 |
"the field I<ut-E<gt>ut_line>. It takes the first of I<stdin>, I<stdout>, " |
| 373 |
"I<stderr> that is a terminal, and stores the corresponding pathname minus a " |
| 374 |
"possible leading I</dev/> into this field, and then writes the struct to the " |
| 375 |
"utmp file. On the other hand, if no terminal name was found, this field is " |
| 376 |
"filled with \"???\" and the struct is not written to the utmp file. After " |
| 377 |
"this, the struct is written to the wtmp file." |
| 378 |
msgstr "" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: debian-trixie fedora-44 fedora-rawhide |
| 382 |
msgid "" |
| 383 |
"The B<logout>() function searches the utmp file for an entry matching the " |
| 384 |
"I<ut_line> argument. If a record is found, it is updated by zeroing out the " |
| 385 |
"I<ut_name> and I<ut_host> fields, updating the I<ut_tv> timestamp field and " |
| 386 |
"setting I<ut_type> (if there is such a field) to B<DEAD_PROCESS>." |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: TH |
| 390 |
#: fedora-44 fedora-rawhide |
| 391 |
#, no-wrap |
| 392 |
msgid "2024-07-23" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: TH |
| 396 |
#: fedora-44 fedora-rawhide |
| 397 |
#, no-wrap |
| 398 |
msgid "Linux man-pages 6.13" |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: TH |
| 402 |
#: mageia-cauldron |
| 403 |
#, no-wrap |
| 404 |
msgid "Linux man-pages 6.17" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: TH |
| 408 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "Linux man-pages (unreleased)" |
| 411 |
msgstr "" |