From d1a801505eb7ab50675f7299d9786a0cf966d865 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 13 Feb 2012 19:20:57 +0000 Subject: [PATCH] Change permissions for /var/log/btmp git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9743 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/createfiles.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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