aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysvinit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/sysvinit.xml')
-rw-r--r--chapter06/sysvinit.xml44
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>