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>
-mkdir -pv /var/log/{counter,calamaris}
chown nobody.nobody /var/log/calamaris
touch /var/log/{btmp,lastlog,wtmp}
-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
chgrp -v utmp /var/log/lastlog
chmod -v 664 /var/log/lastlog