diff options
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r-- | chapter06/createfiles.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 9a2e267a5..00f28e236 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -130,7 +130,8 @@ EOF</userinput></screen> <screen><userinput>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</userinput></screen> +chmod -v 664 /var/run/utmp /var/log/lastlog +chmod -v 660 /var/log/btmp</userinput></screen> <para>The <filename>/var/run/utmp</filename> file records the users that are currently logged in. The <filename>/var/log/wtmp</filename> |