Changes in / [d3aa932:6c46cbb]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/createfiles.xml

    rd3aa932 r6c46cbb  
    216216  the bad login attempts.</para>
    217217
    218   <!-- systemd no longer creates this -->
    219   <note revision='sysv'><para>The <filename>/run/utmp</filename> file
    220   records the users that are currently logged in.  This file is created
    221   dynamically in the boot scripts.</para></note>
    222 
    223   <!-- AFAIK they are not vital for system function, users requiring such
    224        info should rely on systemd-logind or elogind or some custom PAM
    225        module.  Maybe we can stop to create them at all.  -->
    226   <note>
    227     <para>
    228       The <phrase revision='sysv'><filename>utmp</filename>,
    229       </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and
    230       <filename>lastlog</filename> files use 32-bit integers for timestamp
    231       and they'll be fundamentally broken after year 2038.  Many packages
    232       have stopped using them and other packages are going to stop using
    233       them.  Do not rely on the contents of them for anything.
    234     </para>
    235   </note>
     218  <note><para>The <filename>/run/utmp</filename> file records the users that
     219  are currently logged in.  This file is created dynamically in the boot
     220  scripts.</para></note>
    236221
    237222</sect1>
  • chapter08/shadow.xml

    rd3aa932 r6c46cbb  
    277277        <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog,
    278278        getsubids, gpasswd, groupadd, groupdel, groupmems, groupmod, grpck,
    279         grpconv, grpunconv, login, logoutd, newgidmap, newgrp,
     279        grpconv, grpunconv, lastlog, login, logoutd, newgidmap, newgrp,
    280280        newuidmap, newusers, nologin, passwd, pwck, pwconv, pwunconv,
    281281        sg (link to newgrp), su, useradd, userdel, usermod,
     
    460460      </varlistentry>
    461461
     462      <varlistentry id="lastlog">
     463        <term><command>lastlog</command></term>
     464        <listitem>
     465          <para>Reports the most recent login of all users or of a
     466          given user</para>
     467          <indexterm zone="ch-system-shadow lastlog">
     468            <primary sortas="b-lastlog">lastlog</primary>
     469          </indexterm>
     470        </listitem>
     471      </varlistentry>
     472
    462473      <varlistentry id="login">
    463474        <term><command>login</command></term>
Note: See TracChangeset for help on using the changeset viewer.