[lfs-book] r9743 - trunk/BOOK/chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Feb 13 11:21:01 PST 2012


Author: bdubbs
Date: 2012-02-13 12:20:57 -0700 (Mon, 13 Feb 2012)
New Revision: 9743

Modified:
   trunk/BOOK/chapter06/createfiles.xml
Log:
Change permissions for /var/log/btmp

Modified: trunk/BOOK/chapter06/createfiles.xml
===================================================================
--- trunk/BOOK/chapter06/createfiles.xml	2012-02-11 15:25:45 UTC (rev 9742)
+++ trunk/BOOK/chapter06/createfiles.xml	2012-02-13 19:20:57 UTC (rev 9743)
@@ -132,7 +132,7 @@
 <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
-chmod -v 660 /var/log/btmp</userinput></screen>
+chmod -v 600 /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>




More information about the lfs-book mailing list