Skip to main content

Module systemd_logind

Module systemd_logind 

Source
Expand description

Systemd-logind support for reading login records

This module provides systemd-logind based implementation for reading login records as an alternative to traditional utmp/utmpx files. When the systemd-logind feature is enabled and systemd is available, this will be used instead of traditional utmp files.

Structs§

SystemdLoginRecord
Login record compatible with utmpx structure
SystemdUtmpxCompat
Wrapper to provide utmpx-compatible interface for a single record
SystemdUtmpxIter
Container for reading multiple systemd records

Enums§

SystemdRecordType

Functions§

read_login_records
Read login records from systemd-logind using safe wrapper functions This matches the approach used by GNU coreutils read_utmp_from_systemd()