Bladeren bron

Simplified the commands to create the utmp, btmp, lastlog and wtmp files.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1503 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 jaren geleden
bovenliggende
commit
953ccfe8a9
2 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. 4 0
      chapter01/changelog.xml
  2. 2 4
      chapter06/create-utmp.xml

+ 4 - 0
chapter01/changelog.xml

@@ -24,6 +24,10 @@
 
 <itemizedlist>
 
+<listitem><para>January 30th, 2002 [gerard]: Chapter 6 - Configure
+software: Simplified the commands to create the utmp, btmp, lastlog and
+wtmp files.</para></listitem>
+
 <listitem><para>January 30th, 2002 [gerard]: Chapter1: Moved
 Acknowledgements to be displayed as the first page in chapter
 1.</para></listitem>

+ 2 - 4
chapter06/create-utmp.xml

@@ -11,10 +11,8 @@ bad login attempts.</para>
 <para>Create these files with their proper permissions by running the
 following commands:</para>
 
-<para><screen><userinput>touch /var/run/utmp /var/log/wtmp \
-&nbsp;&nbsp;&nbsp; /var/log/btmp /var/log/lastlog &amp;&amp;
-chmod 644 /var/run/utmp /var/log/wtmp \
-&nbsp;&nbsp;&nbsp;/var/log/btmp /var/log/lastlog</userinput></screen></para>
+<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &&
+chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para>
 
 </sect2>