Ignore:
Timestamp:
Nov 22, 2013, 12:07:18 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
cd44021
Parents:
5b7944d
Message:

Install last and mesg from util-linux instead of sysvinit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/sysvinit.xml

    r5b7944d r86e0296  
    2525    <title>Installation of Sysvinit</title>
    2626
    27 <para os ="a">Apply a sed which disables sulogin, mountpoint, wall, and
    28 utmpdump from being built and installed as they are provided by Util-linux:</para>
     27<para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin,
     28utmpdump, and wall from being built and installed as they are provided by
     29Util-linux:</para>
    2930
    3031<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
    31     -e '/utmpdump/d' -e '/mountpoint/d' src/Makefile</userinput></screen>
     32    -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen>
    3233
    3334<para os ="c">Compile the package:</para>
     
    124125
    125126      <seglistitem>
    126         <seg>bootlogd, fstab-decode, halt, init, killall5, last, lastb (link
    127         to last), mesg,
    128         pidof (link to killall5), poweroff (link to halt),
    129         reboot (link to halt), runlevel, shutdown, and telinit (link to init)</seg>
     127        <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
     128        killall5), poweroff (link to halt), reboot (link to halt), runlevel,
     129        shutdown, and telinit (link to init)</seg>
    130130      </seglistitem>
    131131    </segmentedlist>
     
    194194      </varlistentry>
    195195
    196       <varlistentry id="last">
    197         <term><command>last</command></term>
    198         <listitem>
    199           <para>Shows which users last logged in (and out), searching back
    200           through the <filename>/var/log/wtmp</filename> file; it also shows
    201           system boots, shutdowns, and run-level changes</para>
    202           <indexterm zone="ch-system-sysvinit last">
    203             <primary sortas="b-last">last</primary>
    204           </indexterm>
    205         </listitem>
    206       </varlistentry>
    207 
    208       <varlistentry id="lastb">
    209         <term><command>lastb</command></term>
    210         <listitem>
    211           <para>Shows the failed login attempts, as logged in
    212           <filename>/var/log/btmp</filename></para>
    213           <indexterm zone="ch-system-sysvinit lastb">
    214             <primary sortas="b-lastb">lastb</primary>
    215           </indexterm>
    216         </listitem>
    217       </varlistentry>
    218 
    219       <varlistentry id="mesg">
    220         <term><command>mesg</command></term>
    221         <listitem>
    222           <para>Controls whether other users can send messages to the current
    223           user's terminal</para>
    224           <indexterm zone="ch-system-sysvinit mesg">
    225             <primary sortas="b-mesg">mesg</primary>
    226           </indexterm>
    227         </listitem>
    228       </varlistentry>
    229 
    230196      <varlistentry id="pidof">
    231197        <term><command>pidof</command></term>
Note: See TracChangeset for help on using the changeset viewer.