diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 444cb091c..9ee188b7d 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -130,9 +130,9 @@ EOF proper permissions: touch /var/log/{btmp,lastlog,wtmp} -chgrp -v utmp /var/run/utmp /var/log/lastlog -chmod -v 664 /var/run/utmp /var/log/lastlog -chmod -v 600 /var/log/btmp +chgrp -v utmp /var/log/lastlog +chmod -v 664 /var/log/lastlog +chmod -v 600 /var/log/btmp The /var/log/wtmp file records all logins and logouts. The /var/log/lastlog file records when each