diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-04 23:22:10 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-04 23:22:10 +0000 |
commit | 7d096f362d5d4f3be635d1e7abd14ae3b7114e6d (patch) | |
tree | 4ca31e88b1471da79cf51b0e868a14f6ce7b6e6a /chapter06/pwdgroup.xml | |
parent | 6820da0337c2a6918f1917150802d57c8ecbdf01 (diff) |
- Add 'utmp' group
- Upgraded to latest bootscripts to support utmp group
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3475 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/pwdgroup.xml')
-rw-r--r-- | chapter06/pwdgroup.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index 83c3bd283..880a266e7 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -46,6 +46,7 @@ lp:x:9: dialout:x:10: audio:x:11: video:x:12: +utmp:x:13: <userinput>EOF</userinput></screen> <para>The created groups aren't part of any standard -- they are some of the @@ -79,7 +80,8 @@ These programs, however, won't write to the log files if they don't already exist. Initialize the log files and give them their proper permissions:</para> <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} -chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen> +chgrp utmp /var/run/utmp /var/log/lastlog +chmod 664 /var/run/utmp /var/log/lastlog</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 |