mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 06:14:13 +01:00
Remove references to /var/run/utmp
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9797 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
9bda40d80a
commit
4f2e7072f0
@ -130,9 +130,9 @@ EOF</userinput></screen>
|
|||||||
proper permissions:</para>
|
proper permissions:</para>
|
||||||
|
|
||||||
<screen><userinput>touch /var/log/{btmp,lastlog,wtmp}
|
<screen><userinput>touch /var/log/{btmp,lastlog,wtmp}
|
||||||
chgrp -v utmp /var/run/utmp /var/log/lastlog
|
chgrp -v utmp /var/log/lastlog
|
||||||
chmod -v 664 /var/run/utmp /var/log/lastlog
|
chmod -v 664 /var/log/lastlog
|
||||||
chmod -v 600 /var/log/btmp</userinput></screen>
|
chmod -v 600 /var/log/btmp</userinput></screen>
|
||||||
|
|
||||||
<para>The <filename>/var/log/wtmp</filename> file records all logins and
|
<para>The <filename>/var/log/wtmp</filename> file records all logins and
|
||||||
logouts. The <filename>/var/log/lastlog</filename> file records when each
|
logouts. The <filename>/var/log/lastlog</filename> file records when each
|
||||||
|
Loading…
Reference in New Issue
Block a user