fail2ban 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of Fail2Ban.
  2. #
  3. # Fail2Ban is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # Fail2Ban is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with Fail2Ban; if not, write to the Free Software
  15. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  16. #
  17. # Author: Cyril Jaquier
  18. #
  19. # $Revision$
  20. # Command line options for Fail2Ban. Refer to "fail2ban-client -h" for
  21. # valid options.
  22. FAIL2BAN_OPTS=""
  23. # Run fail2ban as a different user. If not set, fail2ban
  24. # will run as root.
  25. #
  26. # The user is not created automatically.
  27. # The user can be created e.g. with
  28. # useradd --system --no-create-home --home-dir / --groups adm fail2ban
  29. # Log files are readable by group adm by default. Adding the fail2ban
  30. # user to this group allows it to read the logfiles.
  31. #
  32. # Another manual step that needs to be taken is to allow write access
  33. # for fail2ban user to fail2ban log files. The /etc/init.d/fail2ban
  34. # script will change the ownership when starting fail2ban. Logrotate
  35. # needs to be configured separately, see /etc/logrotate.d/fail2ban.
  36. #
  37. # FAIL2BAN_USER="fail2ban"