From 6325a7ebbd675a631b182f5fc516d1e37d0835fc Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 16 Nov 2011 18:39:39 +0000 Subject: Set 660 permissions for /var/log/btmp git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/createfiles.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chapter06') 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 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 664 /var/run/utmp /var/log/lastlog +chmod -v 660 /var/log/btmp The /var/run/utmp file records the users that are currently logged in. The /var/log/wtmp -- cgit v1.2.3-54-g00ecf