Support » Plugin: WP fail2ban - Advanced Security Plugin » Ubuntu 18.04 dont log AUTH_LOG

  • Resolved jeronimognlz


    Hi, i have the next problem.
    I add to the wp-config.php define('WP_FAIL2BAN_AUTH_LOG', LOG_AUTH); but dont register any logs in /var/log/auth.log (same for /var/log/syslog). I use ISPCONFIG 3.1 .

    Any ideas ?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author invisnet


    I don’t have an Ubuntu instance to play with atm, but my guess is that you probably need to use LOG_AUTHPRIV.

    Try (maybe a security flaw)
    $ sudo chmod 0755 /var/log/auth.log

    Thread Starter jeronimognlz


    With persmissions:
    -rwxr-xr-x 1 syslog adm 2607083 Oct 25 09:46 auth.log


    I keep logging this:

    Oct 25 12:52:03 server1 wordpress([7733]: Authentication attempt for unknown user sadasd from


    Plugin Author invisnet


    Sounds like LOG_AUTHPRIV did the trick.

    Changing the perms on the log file is always bad idea – especially setting the execute bit – you should set that back to 640 asap.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ubuntu 18.04 dont log AUTH_LOG’ is closed to new replies.