- Add 'utmp' group

- Upgraded to latest bootscripts to support utmp group


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3475 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Zack Winkles 2004-05-04 23:22:10 +00:00
parent 6820da0337
commit 7d096f362d
8 changed files with 19 additions and 19 deletions

4
TODO
View File

@ -1,8 +1,4 @@
- Mention --enable-kernel=... where appropriate. - 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. - Mention --enable-multibyte when building vim.
- POSIX compliance patches (aka, removing the coreutils hack). - POSIX compliance patches (aka, removing the coreutils hack).
- Upgraded to a glibc that supports POSIX message queues. - Upgraded to a glibc that supports POSIX message queues.

View File

@ -92,6 +92,12 @@ first a summary, then a detailed log.</para>
</itemizedlist> </itemizedlist>
</listitem> </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 <listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Install the
<quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem> <quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem>

View File

@ -89,7 +89,7 @@ Less (&less-version;) - 259 KB:
<ulink url="&freshmeat;less/"/> <ulink url="&freshmeat;less/"/>
LFS-Bootscripts (&bootscripts-version;) - 32 KB: LFS-Bootscripts (&bootscripts-version;) - 32 KB:
<ulink url="http://www.linuxfromscratch.org/~nathan/"/> <ulink url="&http-down;"/>
Libtool (&libtool-version;) - 2,602 KB: Libtool (&libtool-version;) - 2,602 KB:
<ulink url="&freshmeat;libtool/"/> <ulink url="&freshmeat;libtool/"/>

View File

@ -46,6 +46,7 @@ lp:x:9:
dialout:x:10: dialout:x:10:
audio:x:11: audio:x:11:
video:x:12: video:x:12:
utmp:x:13:
<userinput>EOF</userinput></screen> <userinput>EOF</userinput></screen>
<para>The created groups aren't part of any standard -- they are some of the <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> exist. Initialize the log files and give them their proper permissions:</para>
<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} <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 <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 currently logged in. The <filename>/var/log/wtmp</filename> file records all

View File

@ -25,10 +25,6 @@
<screen><userinput>make install</userinput></screen> <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> </sect2>

View File

@ -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="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="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="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="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="hostname.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hosts.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hosts.xml"/>

View File

@ -3,12 +3,12 @@
<!ENTITY % general-entities SYSTEM "../general.ent"> <!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities; %general-entities;
]> ]>
<sect1 id="ch-scripts-loadkeys"> <sect1 id="ch-scripts-console">
<title>Do I need the loadkeys script?</title> <title>Do I need the console script?</title>
<?dbhtml filename="loadkeys.html"?> <?dbhtml filename="console.html"?>
<indexterm zone="ch-scripts-loadkeys"> <indexterm zone="ch-scripts-console">
<primary sortas="d-loadkeys">loadkeys</primary> <primary sortas="d-console">console</primary>
<secondary>configuring</secondary></indexterm> <secondary>configuring</secondary></indexterm>
<para>If you plan to compile the keymap directly in the kernel during <xref <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 different kernels and can't be sure that the keymap is compiled into every one
of them.</para> of them.</para>
<para>If you decided you don't need or don't want to use the loadkeys script, <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/S70loadkeys</filename> symlink.</para> remove the <filename class="symlink">/etc/rc.d/rcsysinit.d/S70console</filename> symlink.</para>
</sect1> </sect1>

View File

@ -21,7 +21,7 @@
<!ENTITY bash-version "2.05b"> <!ENTITY bash-version "2.05b">
<!ENTITY binutils-version "2.15.90.0.3"> <!ENTITY binutils-version "2.15.90.0.3">
<!ENTITY bison-version "1.875a"> <!ENTITY bison-version "1.875a">
<!ENTITY bootscripts-version "2.0.4"> <!ENTITY bootscripts-version "2.1.0">
<!ENTITY bzip2-version "1.0.2"> <!ENTITY bzip2-version "1.0.2">
<!ENTITY coreutils-version "5.2.1"> <!ENTITY coreutils-version "5.2.1">
<!ENTITY dejagnu-version "1.4.4"> <!ENTITY dejagnu-version "1.4.4">