Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:usercheck [10/10/2013 14:21]
127.0.0.1 external edit
rb:usercheck [15/08/2018 23:49] (current)
andrew
Line 48: Line 48:
           grep "​${DAY}"​ ${SECLOG} | grep -i "​useradd\|userdel\|invalid" ​ >> ${TMPLOG};           grep "​${DAY}"​ ${SECLOG} | grep -i "​useradd\|userdel\|invalid" ​ >> ${TMPLOG};
   ​   ​
-          mailx -s "​Suspicious account activity - `hostname -s`" ww-noc@igt.com < ${TMPLOG}+          mailx -s "​Suspicious account activity - `hostname -s`" ww-noc@domain.com < ${TMPLOG}
   ​   ​
           #debug - echo mailmsg           #debug - echo mailmsg

rb/usercheck.txt ยท Last modified: 15/08/2018 23:49 by andrew