[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] inactive user accounts
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] inactive user accounts
- From: "Dean Casey" <dcasey (at) pathfire.com>
- Date: Fri, 10 Aug 2007 13:37:44 -0400
- References: <008c01c7db38$d8d27070$398f10ac (at) oad.fcpp.fujitsu.com>
- Thread-index: AcfbONv/PmR/zpkXTbGgyJZ7+X2xBQAO3ofw
- Thread-topic: [hobbit] inactive user accounts
You might try:
- using a custom script to run "last" command (or parse
lastlog, depending on your OS)
- compare output of above to field #1 in the etc/passwd file
(possibly using "diff" or similarr command)
- alert on those names that show up in the output of the above
step
www.deadcat.net <http://www.deadcat.net/> has a few scripts that do
almost what you're thinking of, they should be pretty straightforward to
modify.
Dean Casey
________________________________
From: Ryan Jay B. Lapuz [mailto:rlapuz (at) fcpp.fujitsu.com]
Sent: Friday, August 10, 2007 6:26 AM
To: hobbit (at) hswn.dk
Subject: [hobbit] inactive user accounts
Hi everyone!
Does Hobbit supports monitoring of behavior of user/email accounts like
if the account has been inactive for 30 days?
If not, can someone give me any idea on how to do it?
Thanks in advance
Regards
Ryan