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}