mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 14:24:10 +01:00
Change permissions for /var/log/btmp
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9743 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
bb0c3b3a28
commit
d1a801505e
@ -132,7 +132,7 @@ EOF</userinput></screen>
|
|||||||
<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
||||||
chgrp -v utmp /var/run/utmp /var/log/lastlog
|
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</userinput></screen>
|
chmod -v 600 /var/log/btmp</userinput></screen>
|
||||||
|
|
||||||
<para>The <filename>/var/run/utmp</filename> file records the users
|
<para>The <filename>/var/run/utmp</filename> file records the users
|
||||||
that are currently logged in. The <filename>/var/log/wtmp</filename>
|
that are currently logged in. The <filename>/var/log/wtmp</filename>
|
||||||
|
Loading…
Reference in New Issue
Block a user