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:
Matthias Fischer
2017-04-28 21:29:58 +02:00
committed by Michael Tremer
parent 094a27c8f9
commit 057aaf42b6

View File

@@ -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