diff --git a/How-to-ban-something-other-as-host-(IP-address),-like-user-or-e-mail,-etc..md b/How-to-ban-something-other-as-host-(IP-address),-like-user-or-e-mail,-etc..md index e84bdb2..d6851b7 100644 --- a/How-to-ban-something-other-as-host-(IP-address),-like-user-or-e-mail,-etc..md +++ b/How-to-ban-something-other-as-host-(IP-address),-like-user-or-e-mail,-etc..md @@ -57,6 +57,10 @@ logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failu logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failure; login=xxx" logger -t 'test:auth' -i -p auth.info "pam_unix(test:auth): authentication failure; login=xxx" ``` +This should produce in `/var/log/auth.log` 3 entries like: +``` bash +Nov 14 20:07:35 srv test:auth[3141]: pam_unix(test:auth): authentication failure; login=xxx +``` To test regular expression, use new option `--raw` or `-r`, to prevent dns resolving errors: