mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
BUG 11305: Suggested fix for '/var/log/btmp' permissions
Fixes BUG 11305, for details see: https://bugzilla.ipfire.org/show_bug.cgi?id=11305 Best, Matthias Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
094a27c8f9
commit
057aaf42b6
@@ -127,6 +127,7 @@ endif
|
||||
-mkdir -pv /var/log/{counter,calamaris}
|
||||
chown nobody.nobody /var/log/calamaris
|
||||
touch /var/log/{btmp,lastlog,wtmp}
|
||||
chmod -v 600 /var/log/btmp
|
||||
chgrp -v utmp /var/log/lastlog
|
||||
chmod -v 664 /var/log/lastlog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user