Is there an easy way to modify logcheck to list the currently logged-on users when it's run in server mode? The output of 'w' or 'who' would be sufficient. I searched the archives of this list and the wiki, but didn't come up with anything. It seems to me that with the way logcheck is used, with frequent runs, listing the currently logged-in users would be helpful. Thanks for any advice or help. -Kevin Zembower
Zembower, Kevin wrote:> It seems to me that with the way logcheck is used, with > frequent runs, listing the currently logged-in users would be helpful.Couldn't you just set up a cron job to log the results of who in a logfile and then tell logcheck to report on that log? You'd also probably want that log rotated periodically or you could just set up another cron job that deletes the log once a month or something. Brian