mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
changed ownership of all existing logs
This commit is contained in:
parent
165354d87c
commit
73f0ed8976
2 changed files with 3 additions and 3 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
|
@ -1,4 +1,4 @@
|
|||
fail2ban (0.6.0-3.5) UNRELEASED; urgency=low
|
||||
fail2ban (0.6.0-3.6) UNRELEASED; urgency=low
|
||||
|
||||
* Modifications in README.Debian to reflect a "finding" on
|
||||
not-AllowedUsers banning which requires default Debian configuration
|
||||
|
|
|
|||
4
debian/postinst
vendored
4
debian/postinst
vendored
|
|
@ -25,8 +25,8 @@ case "$1" in
|
|||
|
||||
LOG=/var/log/fail2ban.log
|
||||
touch $LOG
|
||||
chown root:adm $LOG
|
||||
chmod 640 $LOG
|
||||
chown root:adm ${LOG}*
|
||||
chmod 640 ${LOG}*
|
||||
|
||||
# Note regarding changed configuration file
|
||||
if [ ! -z $preversion ] \
|
||||
|
|
|
|||
Loading…
Reference in a new issue