From 953ccfe8a9fe3b7fb9168a1d1676438a1553b19f Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 30 Jan 2002 15:58:57 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 4 ++++ chapter06/create-utmp.xml | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f6d5b14bb..f8733fd62 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -24,6 +24,10 @@ +January 30th, 2002 [gerard]: Chapter 6 - Configure +software: Simplified the commands to create the utmp, btmp, lastlog and +wtmp files. + January 30th, 2002 [gerard]: Chapter1: Moved Acknowledgements to be displayed as the first page in chapter 1. 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. Create these files with their proper permissions by running the following commands: -touch /var/run/utmp /var/log/wtmp \ -    /var/log/btmp /var/log/lastlog && -chmod 644 /var/run/utmp /var/log/wtmp \ -   /var/log/btmp /var/log/lastlog +touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && +chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}