Zum Inhalt springen

Wtmpdb: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „line>“ durch „line copy>“
 
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
'''last''' - Kurzbeschreibung
'''wtmpdb''' - display login, logout and reboot information


== Beschreibung ==
== Beschreibung ==
wtmpdb displays the content of the wtmp database and allows creating reboot and shutdown entries.
This command is [[Y2038 safe]] and uses sqlite3 to store the information.


== Installation ==
== Installation ==


<syntaxhighlight lang="bash" highlight="1,5,10" line>
<syntaxhighlight lang="bash" highlight="1,6,11,23" line copy>
root@lincln02 /home # last
last
Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit:
Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit:
apt install util-linux
apt install util-linux
apt install wtmpdb
apt install wtmpdb
root@lincln02 /home # apt install util-linux
 
apt install util-linux
util-linux ist schon die neueste Version (2.40.1-8).
util-linux ist schon die neueste Version (2.40.1-8).
Summary:
Summary:
   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0


root@lincln02 /home # apt install wtmpdb
apt install wtmpdb
Installing:
Installing:
   wtmpdb
   wtmpdb


Installing dependencies:
Installing dependencies:
  libpam-wtmpdb  libwtmpdb0
libpam-wtmpdb  libwtmpdb0
 
</syntaxhighlight>
Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 0
  Download size: 31,5 kB
  Space needed: 141 kB / 58,3 GB available
 
Continue? [J/n]
Holen:1 http://ftp.de.debian.org/debian testing/main amd64 libwtmpdb0 amd64 0.12.0-2 [8.552 B]
Holen:2 http://ftp.de.debian.org/debian testing/main amd64 libpam-wtmpdb amd64 0.12.0-2 [7.984 B]
Holen:3 http://ftp.de.debian.org/debian testing/main amd64 wtmpdb amd64 0.12.0-2 [15,0 kB]
Es wurden 31,5 kB in 0 s geholt (150 kB/s).
Laden der Fehlerberichte … Erledigt
»Found/Fixed«-Informationen werden ausgewertet … Erledigt
Vormals nicht ausgewähltes Paket libwtmpdb0:amd64 wird gewählt.
(Lese Datenbank ... 793262 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libwtmpdb0_0.12.0-2_amd64.deb ...
Entpacken von libwtmpdb0:amd64 (0.12.0-2) ...
Vormals nicht ausgewähltes Paket libpam-wtmpdb:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../libpam-wtmpdb_0.12.0-2_amd64.deb ...
Entpacken von libpam-wtmpdb:amd64 (0.12.0-2) ...
Vormals nicht ausgewähltes Paket wtmpdb wird gewählt.
Vorbereitung zum Entpacken von .../wtmpdb_0.12.0-2_amd64.deb ...
Entpacken von wtmpdb (0.12.0-2) ...
libwtmpdb0:amd64 (0.12.0-2) wird eingerichtet ...
libpam-wtmpdb:amd64 (0.12.0-2) wird eingerichtet ...
 
pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.
pam-auth-update: Run pam-auth-update --force to override.
 
wtmpdb (0.12.0-2) wird eingerichtet ...
Created symlink '/etc/systemd/system/timers.target.wants/wtmpdb-rotate.timer' → '/usr/lib/systemd/system/wtmpdb-rotate.timer'.
Created symlink '/etc/systemd/system/default.target.wants/wtmpdb-update-boot.service' → '/usr/lib/systemd/system/wtmpdb-update-boot.service'.
wtmpdb-rotate.service is a disabled or a static unit, not starting it.
Trigger für man-db (2.12.1-1) werden verarbeitet ...
Trigger für libc-bin (2.38-12) werden verarbeitet ...
Prüfe Prozesse...
Scanning processor microcode...
Prüfe Linux-Kernel...


Der laufende Kernel ist aktuell.
== Aufruf ==
 
<syntaxhighlight lang="bash" highlight="1,2" line copy>
Der Prozessor Mikrocode ist aktuell.
last
 
wtmpdb COMMAND [option...]
Es müssen keine Dienste neugestartet werden.
 
Es müssen keine Container neu gestartet werden.
 
Es gibt keine Nutzer-Sitzungen mit veralteten Prozessen.
 
No VM guests are running outdated hypervisor (qemu) binaries on this host.
</syntaxhighlight>
</syntaxhighlight>


== Syntax ==
=== Optionen ===
<syntaxhighlight lang="bash" highlight="1" line>
=== Argumente ===
=== Umgebung ===
=== Rückgabewert ===


</syntaxhighlight>
=== Optionen ===
=== Parameter ===
=== Umgebungsvariablen ===
=== Exit-Status ===
== Anwendung ==
== Anwendung ==
=== Fehlerbehebung ===
=== Problembehebung ===
== Konfiguration ==
== Konfiguration ==
=== Dateien ===
=== Dateien ===
Zeile 89: Zeile 46:
== Anhang ==
== Anhang ==
=== Siehe auch ===
=== Siehe auch ===
{{Special:PrefixIndex/{{BASEPAGENAME}}}}
{{Special:PrefixIndex/{{BASEPAGENAME}}/}}
==== Dokumentation ====
=== Dokumentation ===
===== Man-Pages =====
; Man-Page
===== Info-Pages =====
;Info-Page
==== Links ====
=== Links ===
===== Projekt =====
==== Projekt ====
===== Weblinks =====
==== Weblinks ====


</noinclude>
</noinclude>
[[Kategorie:Linux/Befehl]]
[[Kategorie:Linux/Befehl]]
[[Kategorie:Linux/Benutzer]]
[[Kategorie:Linux/Benutzer]]
[[Kategorie:Util-linux]]

Aktuelle Version vom 11. Mai 2025, 13:47 Uhr

wtmpdb - display login, logout and reboot information

Beschreibung

wtmpdb displays the content of the wtmp database and allows creating reboot and shutdown entries.

This command is Y2038 safe and uses sqlite3 to store the information.

Installation

last
Der Befehl 'last' wurde nicht gefunden, kann aber installiert werden mit:
apt install util-linux
apt install wtmpdb

apt install util-linux
util-linux ist schon die neueste Version (2.40.1-8).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

apt install wtmpdb
Installing:
  wtmpdb

Installing dependencies:
 libpam-wtmpdb  libwtmpdb0

Aufruf

last
wtmpdb COMMAND [option...]

Optionen

Argumente

Umgebung

Rückgabewert

Anwendung

Problembehebung

Konfiguration

Dateien

Anhang

Siehe auch

Dokumentation

Man-Page
Info-Page

Links

Projekt

Weblinks