small review

master
Serg G. Brester 2016-11-14 20:25:46 +01:00 committed by sebres
parent a03e79f184
commit 612e9ae3a8
1 changed files with 4 additions and 0 deletions

@ -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"
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: To test regular expression, use new option `--raw` or `-r`, to prevent dns resolving errors: