1<?xml version="1.0"?> 2<!--*-nxml-*--> 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> 5<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> 6<refentry id="systemd-update-utmp.service" conditional="ENABLE_UTMP"> 7 8 <refentryinfo> 9 <title>systemd-update-utmp.service</title> 10 <productname>systemd</productname> 11 </refentryinfo> 12 13 <refmeta> 14 <refentrytitle>systemd-update-utmp.service</refentrytitle> 15 <manvolnum>8</manvolnum> 16 </refmeta> 17 18 <refnamediv> 19 <refname>systemd-update-utmp.service</refname> 20 <refname>systemd-update-utmp-runlevel.service</refname> 21 <refname>systemd-update-utmp</refname> 22 <refpurpose>Write audit and utmp updates at bootup, runlevel 23 changes and shutdown</refpurpose> 24 </refnamediv> 25 26 <refsynopsisdiv> 27 <para><filename>systemd-update-utmp.service</filename></para> 28 <para><filename>systemd-update-utmp-runlevel.service</filename></para> 29 <para><filename>/usr/lib/systemd/systemd-update-utmp</filename></para> 30 </refsynopsisdiv> 31 32 <refsect1> 33 <title>Description</title> 34 35 <para><filename>systemd-update-utmp-runlevel.service</filename> is 36 a service that writes SysV runlevel changes to utmp and wtmp, as 37 well as the audit logs, as they occur. 38 <filename>systemd-update-utmp.service</filename> does the same for 39 system reboots and shutdown requests.</para> 40 </refsect1> 41 42 <refsect1> 43 <title>See Also</title> 44 <para> 45 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, 46 <citerefentry project='man-pages'><refentrytitle>utmp</refentrytitle><manvolnum>5</manvolnum></citerefentry>, 47 <citerefentry project='man-pages'><refentrytitle>auditd</refentrytitle><manvolnum>8</manvolnum></citerefentry> 48 </para> 49 </refsect1> 50 51</refentry> 52