aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-11-16 18:39:39 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-11-16 18:39:39 +0000
commit6325a7ebbd675a631b182f5fc516d1e37d0835fc (patch)
treee7d541601a0f3606979770bc99551875d7d490dd /chapter06
parenta64fd5aa905b76e7b835c2dc724bbb7c052b3755 (diff)
Set 660 permissions for /var/log/btmp
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/createfiles.xml3
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>