Minor Fix for Fail2Ban - Make Sure VSFTPD Log Exists
This commit is contained in:
parent
fd3971ebfb
commit
5758219d9a
1 changed files with 3 additions and 0 deletions
|
@ -1424,6 +1424,9 @@ ftpd_banner=Welcome to vsFTPd Server, managed by EHCP Force Edition (Easy Hostin
|
|||
# allow_writeable_chroot=YES : bunun uzerinde calisacagim... boyle olmuyor... bakalim... bu olabilir: http://ehcp.net/?q=comment/2905#comment-2905
|
||||
writeoutput("/etc/vsftpd.conf",$filecontent,"w");
|
||||
passthru2("usermod -g $app->ftpgroup $app->ftpuser");
|
||||
|
||||
writeoutput("/var/log/vsftpd.log","","w");
|
||||
|
||||
manageService("vsftpd", "restart");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue