diff options
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter03/packages.xml | 2 | ||||
-rw-r--r-- | chapter06/pwdgroup.xml | 4 | ||||
-rw-r--r-- | chapter07/bootscripts.xml | 4 | ||||
-rw-r--r-- | chapter07/chapter07.xml | 2 | ||||
-rw-r--r-- | chapter07/console.xml (renamed from chapter07/loadkeys.xml) | 14 | ||||
-rw-r--r-- | general.ent | 2 |
8 files changed, 19 insertions, 19 deletions
@@ -1,8 +1,4 @@ - Mention --enable-kernel=... where appropriate. - - Create and use the 'utmp' group, and explain to the user how to use it to - improve the security of things that write to utmp, such as terminal - emulators. - - Move passwd to /bin. - Mention --enable-multibyte when building vim. - POSIX compliance patches (aka, removing the coreutils hack). - Upgraded to a glibc that supports POSIX message queues. diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 63541386a..df844bfc7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -92,6 +92,12 @@ first a summary, then a detailed log.</para> </itemizedlist> </listitem> +<listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Create and use the +<quote>utmp</quote> group.</para></listitem> + +<listitem><para>May 4th, 2004 [winkie]: Chapter 7 - Upgraded to LFS-Bootscripts +2.1.0 and modify the book to work with it.</para></listitem> + <listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Install the <quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem> diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e154944e3..309bb38e3 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -89,7 +89,7 @@ Less (&less-version;) - 259 KB: <ulink url="&freshmeat;less/"/> LFS-Bootscripts (&bootscripts-version;) - 32 KB: -<ulink url="http://www.linuxfromscratch.org/~nathan/"/> +<ulink url="&http-down;"/> Libtool (&libtool-version;) - 2,602 KB: <ulink url="&freshmeat;libtool/"/> diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index 83c3bd283..880a266e7 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -46,6 +46,7 @@ lp:x:9: dialout:x:10: audio:x:11: video:x:12: +utmp:x:13: <userinput>EOF</userinput></screen> <para>The created groups aren't part of any standard -- they are some of the @@ -79,7 +80,8 @@ These programs, however, won't write to the log files if they don't already exist. Initialize the log files and give them their proper permissions:</para> <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} -chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen> +chgrp utmp /var/run/utmp /var/log/lastlog +chmod 664 /var/run/utmp /var/log/lastlog</userinput></screen> <para>The <filename>/var/run/utmp</filename> file records the users that are currently logged in. The <filename>/var/log/wtmp</filename> file records all diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml index de6e35128..9ee79f203 100644 --- a/chapter07/bootscripts.xml +++ b/chapter07/bootscripts.xml @@ -25,10 +25,6 @@ <screen><userinput>make install</userinput></screen> -<para>Since we're using Udev, install the support script for it:</para> - -<screen><userinput>make install-udev</userinput></screen> - </sect2> diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml index 64dfc7eb8..f6b5a9ba5 100644 --- a/chapter07/chapter07.xml +++ b/chapter07/chapter07.xml @@ -12,7 +12,7 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="usage.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="setclock.xml"/> -<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="loadkeys.xml"/> +<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="console.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sysklogd.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hostname.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hosts.xml"/> diff --git a/chapter07/loadkeys.xml b/chapter07/console.xml index d3abf96e4..c9e4242d5 100644 --- a/chapter07/loadkeys.xml +++ b/chapter07/console.xml @@ -3,12 +3,12 @@ <!ENTITY % general-entities SYSTEM "../general.ent"> %general-entities; ]> -<sect1 id="ch-scripts-loadkeys"> -<title>Do I need the loadkeys script?</title> -<?dbhtml filename="loadkeys.html"?> +<sect1 id="ch-scripts-console"> +<title>Do I need the console script?</title> +<?dbhtml filename="console.html"?> -<indexterm zone="ch-scripts-loadkeys"> -<primary sortas="d-loadkeys">loadkeys</primary> +<indexterm zone="ch-scripts-console"> +<primary sortas="d-console">console</primary> <secondary>configuring</secondary></indexterm> <para>If you plan to compile the keymap directly in the kernel during <xref @@ -19,7 +19,7 @@ to hurt you. Keeping it could even be beneficial, in case you run a lot of different kernels and can't be sure that the keymap is compiled into every one of them.</para> -<para>If you decided you don't need or don't want to use the loadkeys script, -remove the <filename class="symlink">/etc/rc.d/rcsysinit.d/S70loadkeys</filename> symlink.</para> +<para>If you decided you don't need or don't want to use the console script, +remove the <filename class="symlink">/etc/rc.d/rcsysinit.d/S70console</filename> symlink.</para> </sect1> diff --git a/general.ent b/general.ent index 9d3135b1d..dd3b1aec7 100644 --- a/general.ent +++ b/general.ent @@ -21,7 +21,7 @@ <!ENTITY bash-version "2.05b"> <!ENTITY binutils-version "2.15.90.0.3"> <!ENTITY bison-version "1.875a"> -<!ENTITY bootscripts-version "2.0.4"> +<!ENTITY bootscripts-version "2.1.0"> <!ENTITY bzip2-version "1.0.2"> <!ENTITY coreutils-version "5.2.1"> <!ENTITY dejagnu-version "1.4.4"> |