diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-03-28 20:45:14 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2012-03-28 20:45:14 +0000 |
commit | 44f6add12aeee46ba681ce9a7a5fc06f39bff656 (patch) | |
tree | 7864d1fc99a6fd129caae8d4483b0e4943ce9eba /chapter06 | |
parent | 0759a218c954c964837a5f1ff4db41fc00592e0b (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/createfiles.xml | 16 |
1 files changed, 9 insertions, 7 deletions
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</userinput></screen> do not already exist. Initialize the log files and give them proper permissions:</para> -<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} +<screen><userinput>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</userinput></screen> - <para>The <filename>/var/run/utmp</filename> file records the users - that are currently logged in. The <filename>/var/log/wtmp</filename> - file records all logins and logouts. The - <filename>/var/log/lastlog</filename> file records when - each user last logged in. The <filename>/var/log/btmp</filename> file - records the bad login attempts.</para> + <para>The <filename>/var/log/wtmp</filename> file records all logins and + logouts. The <filename>/var/log/lastlog</filename> file records when each + user last logged in. The <filename>/var/log/btmp</filename> file records the + bad login attempts.</para> + + <note><para>The <filename>/run/utmp</filename> file records the users that + are currently logged in. This file is created dynamically in the boot + scripts.</para></note> </sect1> |