diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-08 03:02:53 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-08 03:02:53 +0000 |
commit | 4783efe5de8eccca80fa9c7c7b9d6323fd045c9f (patch) | |
tree | bd993e52cd35466a77730871e154269f7ebf0854 /chapter06/sysvinit.xml | |
parent | 3c7ea1f646524a45905371d0fbadc99f9f9d64a3 (diff) |
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
Diffstat (limited to 'chapter06/sysvinit.xml')
-rw-r--r-- | chapter06/sysvinit.xml | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml index 98851f709..548616b84 100644 --- a/chapter06/sysvinit.xml +++ b/chapter06/sysvinit.xml @@ -56,13 +56,15 @@ <para>Maintained versions of the <command>wall</command>, <command>mountpoint</command>, <command>last</command>, - <command>mesg</command>, and <command>utmpdump</command> programs were - installed earlier by Util-linux. Suppress the installation of Sysvinit's - versions of these programs and their man pages:</para> + <command>mesg</command>, <command>sulogin</command>, and + <command>utmpdump</command> programs were installed earlier by Util-linux. + Suppress the installation of Sysvinit's versions of these programs and + their man pages:</para> -<screen><userinput remap="make">sed -i -e '/utmpdump/d' \ - -e '/mountpoint/d' \ - -e '/mesg/d' src/Makefile</userinput></screen> +<screen><userinput remap="make">sed -ri -e '/utmpdump/d' \ + -e '/mountpoint/d' \ + -e '/mesg/d' \ + -e 's/= sulogin(\.8)?/=/' src/Makefile</userinput></screen> <para>Compile the package:</para> @@ -83,10 +85,9 @@ <segtitle>Installed programs</segtitle> <seglistitem> - <seg>bootlogd, fstab-decode, halt, init, killall5, - lastb (link to last), pidof (link to killall5), - poweroff (link to halt), reboot (link to halt), runlevel, shutdown, - sulogin, and telinit (link to init)</seg> + <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to + killall5), poweroff (link to halt), reboot (link to halt), runlevel, + shutdown, and telinit (link to init)</seg> </seglistitem> </segmentedlist> @@ -153,17 +154,6 @@ </listitem> </varlistentry> - <varlistentry id="lastb"> - <term><command>lastb</command></term> - <listitem> - <para>Shows the failed login attempts, as logged in - <filename>/var/log/btmp</filename></para> - <indexterm zone="ch-system-sysvinit lastb"> - <primary sortas="b-lastb">lastb</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="pidof"> <term><command>pidof</command></term> <listitem> @@ -218,18 +208,6 @@ </listitem> </varlistentry> - <varlistentry id="sulogin"> - <term><command>sulogin</command></term> - <listitem> - <para>Allows <systemitem class="username">root</systemitem> to log in; - it is normally invoked by <command>init</command> when the system goes - into single user mode</para> - <indexterm zone="ch-system-sysvinit sulogin"> - <primary sortas="b-sulogin">sulogin</primary> - </indexterm> - </listitem> - </varlistentry> - <varlistentry id="telinit"> <term><command>telinit</command></term> <listitem> |