aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-01-30 15:58:57 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-01-30 15:58:57 +0000
commit953ccfe8a9fe3b7fb9168a1d1676438a1553b19f (patch)
tree72edc2d359639dc4ebfad45e272b8e5fc80cfb83 /chapter06
parentb18e6e2a3b51555ebed3f617cbff80e3b9af5cea (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/create-utmp.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml
index 903f5993d..cba14660b 100644
--- a/chapter06/create-utmp.xml
+++ b/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>