From 44f6add12aeee46ba681ce9a7a5fc06f39bff656 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 28 Mar 2012 20:45:14 +0000 Subject: Adjust minimum version of xz-utils in Host Requirements. Reword description of log files in section Creating Essential Files. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9794 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/createfiles.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index f0091bcd2..444cb091c 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -129,16 +129,18 @@ EOF do not already exist. Initialize the log files and give them proper permissions: -touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} +touch /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 600 /var/log/btmp - The /var/run/utmp file records the users - that are currently logged in. The /var/log/wtmp - file records all logins and logouts. The - /var/log/lastlog file records when - each user last logged in. The /var/log/btmp file - records the bad login attempts. + The /var/log/wtmp file records all logins and + logouts. The /var/log/lastlog file records when each + user last logged in. The /var/log/btmp file records the + bad login attempts. + + The /run/utmp file records the users that + are currently logged in. This file is created dynamically in the boot + scripts. -- cgit v1.2.3-54-g00ecf