Ignore:
Timestamp:
12/08/2013 03:02:53 AM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9132fe4
Parents:
3c7ea1f
Message:

Enable building sulogin in util-linux.
Supress installing sysvinit's sulogin.
Several text updates from Chris Staub.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/util-linux.xml

    r3c7ea1f r4783efe  
    6060    <title>Installation of Util-linux</title>
    6161
    62 <screen><userinput remap="configure">./configure --disable-su --disable-sulogin --disable-login</userinput></screen>
    63 
    64     <variablelist>
    65       <title>The meaning of the configure option:</title>
    66 
    67       <varlistentry>
    68         <term><parameter>--disable-*</parameter></term>
    69         <listitem>
    70           <para>These switches disable building su, sulogin, and login.  They
    71           duplicate the same programs provided by <xref
    72           linkend='ch-system-shadow'/> and <xref linkend='ch-system-sysvinit'/>.
    73           They also require
    74           <ulink url="&blfs-root;/view/svn/postlfs/linux-pam.html">Linux-PAM</ulink>
    75           which is not available in LFS.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     62    <para>Prepare Util-linux for compilation:</para>
     63
     64<screen><userinput remap="configure">./configure</userinput></screen>
    7965
    8066    <para>Compile the package:</para>
     
    8571
    8672    <warning><para>Running the test suite as the root user can be harmful to
    87     your system.  To run it, the kernel CONFIG_SCSI_DEBUG option for the kernel
    88     must be available in the currently running system.  The CONFIG_SCSI_DEBUG
    89     option must be built as a module.  Building it into the kernel will prevent
    90     booting.  For complete coverage, other BLFS packages must be installed.  If
    91     desired, this test can be run after rebooting into the completed LFS system
    92     and running:</para>
     73    your system.  To run it, the CONFIG_SCSI_DEBUG option for the kernel must
     74    be available in the currently running system, and must be built as a
     75    module.  Building it into the kernel will prevent booting.  For complete
     76    coverage, other BLFS packages must be installed.  If desired, this test can
     77    be run after rebooting into the completed LFS system and running:</para>
    9378
    9479    <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
     
    118103      <seglistitem>
    119104        <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
    120         chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart,
    121         dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
    122         fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386,
    123         ionice, ipcmk, ipcrm, ipcs, isosize, kill, ldattach, linux32, linux64,
    124         logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
    125         mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint, namei, partx,
    126         pg, pivot_root, prlimit, raw, readprofile, rename, renice, resizepart,
    127         rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
    128         swaplabel, swapoff (link to swapon), swapon, switch_root, tailf,
    129         taskset, ul, umount, unshare, utmpdump, uuidd, uuidgen, wall,
    130         wdctl, whereis, wipefs, and x86_64</seg>
     105        chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, dmesg,
     106        eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
     107        fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
     108        i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
     109        last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
     110        lslocks, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
     111        more, 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, ul,
     115        umount, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
     116        wipefs, and x86_64</seg>
    131117
    132118        <seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
     
    547533      </varlistentry>
    548534
     535      <varlistentry id="last">
     536        <term><command>last</command></term>
     537        <listitem>
     538          <para>Shows which users last logged in (and out), searching back
     539          through the <filename>/var/log/wtmp</filename> file; it also shows
     540          system boots, shutdowns, and run-level changes</para>
     541          <indexterm zone="ch-system-util-linux last">
     542            <primary sortas="b-last">last</primary>
     543          </indexterm>
     544        </listitem>
     545      </varlistentry>
     546
     547      <varlistentry id="lastb">
     548        <term><command>lastb</command></term>
     549        <listitem>
     550          <para>Shows the failed login attempts, as logged in
     551          <filename>/var/log/btmp</filename></para>
     552          <indexterm zone="ch-system-util-linux lastb">
     553            <primary sortas="b-lastb">lastb</primary>
     554          </indexterm>
     555        </listitem>
     556      </varlistentry>
     557
    549558      <varlistentry id="ldattach">
    550559        <term><command>ldattach</command></term>
     
    649658      </varlistentry>
    650659
     660      <varlistentry id="mesg">
     661        <term><command>mesg</command></term>
     662        <listitem>
     663          <para>Controls whether other users can send messages to the current
     664          user's terminal</para>
     665          <indexterm zone="ch-system-util-linux mesg">
     666            <primary sortas="b-mesg">mesg</primary>
     667          </indexterm>
     668        </listitem>
     669      </varlistentry>
     670
    651671      <varlistentry id="mkfs">
    652672        <term><command>mkfs</command></term>
     
    923943          <indexterm zone="ch-system-util-linux sfdisk">
    924944            <primary sortas="b-sfdisk">sfdisk</primary>
     945          </indexterm>
     946        </listitem>
     947      </varlistentry>
     948
     949      <varlistentry id="sulogin">
     950        <term><command>sulogin</command></term>
     951        <listitem>
     952          <para>Allows <systemitem class="username">root</systemitem> to log in;
     953          it is normally invoked by <command>init</command> when the system goes
     954          into single user mode</para>
     955          <indexterm zone="ch-system-util-linux sulogin">
     956            <primary sortas="b-sulogin">sulogin</primary>
    925957          </indexterm>
    926958        </listitem>
Note: See TracChangeset for help on using the changeset viewer.