Changeset 86e0296 for BOOK/final-system


Ignore:
Timestamp:
Nov 22, 2013, 12:07:18 PM (11 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

Location:
BOOK/final-system/common
Files:
2 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>
  • BOOK/final-system/common/util-linux.xml

    r5b7944d r86e0296  
    106106        dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock,
    107107        fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump,
    108         hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, ldattach,
    109         logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
    110         mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint,  namei,
    111         partx, pg, pivot_root, prlimit, raw, readprofile, rename, renice,
    112         resizepart, rev, rtcwake, script, scriptreplay, setarch, setsid,
    113         setterm, sfdisk, sulogin, swaplabel, swapoff (link to swapon), swapon,
    114         switch_root, tailf, taskset, tunelp, ul, umount, unshare, utmpdump,
    115         uuidd, uuidgen, wall, wdctl, whereis, wipefs, and write</seg>
     108        hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link
     109        to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks,
     110        mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more,
     111        mount, mountpoint,  namei, partx, pg, pivot_root, prlimit, raw,
     112        readprofile, rename, renice, resizepart, rev, rtcwake, script,
     113        scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
     114        swapoff (link to swapon), swapon, switch_root, tailf, taskset, tunelp,
     115        ul, umount, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
     116        wipefs, and write</seg>
    116117        <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg>
    117118        <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
     
    519520      </varlistentry>
    520521
     522      <varlistentry id="last">
     523        <term><command>last</command></term>
     524        <listitem>
     525          <para>Shows which users last logged in (and out), searching back
     526          through the <filename>/var/log/wtmp</filename> file; it also shows
     527          system boots, shutdowns, and run-level changes</para>
     528          <indexterm zone="ch-system-util-linux last">
     529            <primary sortas="b-last">last</primary>
     530          </indexterm>
     531        </listitem>
     532      </varlistentry>
     533
     534      <varlistentry id="lastb">
     535        <term><command>lastb</command></term>
     536        <listitem>
     537          <para>Shows the failed login attempts, as logged in
     538          <filename>/var/log/btmp</filename></para>
     539          <indexterm zone="ch-system-util-linux lastb">
     540            <primary sortas="b-lastb">lastb</primary>
     541          </indexterm>
     542        </listitem>
     543      </varlistentry>
     544
    521545      <varlistentry id="ldattach">
    522546        <term><command>ldattach</command></term>
     
    596620          <indexterm zone="ch-system-util-linux mcookie">
    597621            <primary sortas="b-mcookie">mcookie</primary>
     622          </indexterm>
     623        </listitem>
     624      </varlistentry>
     625
     626      <varlistentry id="mesg">
     627        <term><command>mesg</command></term>
     628        <listitem>
     629          <para>Controls whether other users can send messages to the current
     630          user's terminal</para>
     631          <indexterm zone="ch-system-util-linux mesg">
     632            <primary sortas="b-mesg">mesg</primary>
    598633          </indexterm>
    599634        </listitem>
Note: See TracChangeset for help on using the changeset viewer.