blob: 92e88ded1ef51d5ba77668b4d8053e72cc9789f9 [file] [log] [blame]
#
# A sample configuration file for swatch.
#
# See "man swatch" for details.
# Mails root when invalid remote login attempted.
watchfor /(.*) (.*) (.*) (.*) (.*):( [iI]nvalid [uU]ser )(.*)( from )(.*)$/
threshold track_by=$9,type=limit,count=3,seconds=30
mail root,subject="Invalid user"