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/sysvinit.xml

    r3c7ea1f r4783efe  
    5757    <para>Maintained versions of the <command>wall</command>,
    5858    <command>mountpoint</command>, <command>last</command>,
    59     <command>mesg</command>, and <command>utmpdump</command> programs were
    60     installed earlier by Util-linux. Suppress the installation of Sysvinit's
    61     versions of these programs and their man pages:</para>
    62 
    63 <screen><userinput remap="make">sed -i -e '/utmpdump/d'   \
    64        -e '/mountpoint/d' \
    65        -e '/mesg/d' src/Makefile</userinput></screen>
     59    <command>mesg</command>, <command>sulogin</command>, and
     60    <command>utmpdump</command> programs were installed earlier by Util-linux.
     61    Suppress the installation of Sysvinit's versions of these programs and
     62    their man pages:</para>
     63
     64<screen><userinput remap="make">sed -ri -e '/utmpdump/d'   \
     65        -e '/mountpoint/d' \
     66        -e '/mesg/d'       \
     67        -e 's/= sulogin(\.8)?/=/' src/Makefile</userinput></screen>
    6668
    6769    <para>Compile the package:</para>
     
    8486
    8587      <seglistitem>
    86         <seg>bootlogd, fstab-decode, halt, init, killall5,
    87         lastb (link to last), pidof (link to killall5),
    88         poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
    89         sulogin, and telinit (link to init)</seg>
     88        <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
     89        killall5), poweroff (link to halt), reboot (link to halt), runlevel,
     90        shutdown, and telinit (link to init)</seg>
    9091      </seglistitem>
    9192    </segmentedlist>
     
    154155      </varlistentry>
    155156
    156       <varlistentry id="lastb">
    157         <term><command>lastb</command></term>
    158         <listitem>
    159           <para>Shows the failed login attempts, as logged in
    160           <filename>/var/log/btmp</filename></para>
    161           <indexterm zone="ch-system-sysvinit lastb">
    162             <primary sortas="b-lastb">lastb</primary>
    163           </indexterm>
    164         </listitem>
    165       </varlistentry>
    166 
    167157      <varlistentry id="pidof">
    168158        <term><command>pidof</command></term>
     
    219209      </varlistentry>
    220210
    221       <varlistentry id="sulogin">
    222         <term><command>sulogin</command></term>
    223         <listitem>
    224           <para>Allows <systemitem class="username">root</systemitem> to log in;
    225           it is normally invoked by <command>init</command> when the system goes
    226           into single user mode</para>
    227           <indexterm zone="ch-system-sysvinit sulogin">
    228             <primary sortas="b-sulogin">sulogin</primary>
    229           </indexterm>
    230         </listitem>
    231       </varlistentry>
    232 
    233211      <varlistentry id="telinit">
    234212        <term><command>telinit</command></term>
Note: See TracChangeset for help on using the changeset viewer.