mirror of https://github.com/fail2ban/fail2ban
changed ownership of all existing logs
parent
165354d87c
commit
73f0ed8976
|
@ -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
|
* Modifications in README.Debian to reflect a "finding" on
|
||||||
not-AllowedUsers banning which requires default Debian configuration
|
not-AllowedUsers banning which requires default Debian configuration
|
||||||
|
|
|
@ -25,8 +25,8 @@ case "$1" in
|
||||||
|
|
||||||
LOG=/var/log/fail2ban.log
|
LOG=/var/log/fail2ban.log
|
||||||
touch $LOG
|
touch $LOG
|
||||||
chown root:adm $LOG
|
chown root:adm ${LOG}*
|
||||||
chmod 640 $LOG
|
chmod 640 ${LOG}*
|
||||||
|
|
||||||
# Note regarding changed configuration file
|
# Note regarding changed configuration file
|
||||||
if [ ! -z $preversion ] \
|
if [ ! -z $preversion ] \
|
||||||
|
|
Loading…
Reference in New Issue