diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 663b94b36..f0091bcd2 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -132,7 +132,7 @@ EOF touch /var/run/utmp /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 660 /var/log/btmp +chmod -v 600 /var/log/btmp The /var/run/utmp file records the users that are currently logged in. The /var/log/wtmp