[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] User Logon Notification
- Subject: [cobalt-users] User Logon Notification
- From: baltimoremd@xxxxxxxxxxxxxxx
- Date: Tue Aug 28 07:13:17 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Can't remember where I got this
Worse yet, forgot where to put it.
/bin/echo "`cat /etc/HOSTNAME` User: `id -u` [ `cat /etc/passwd |grep
\`id -u\`` ] logged in" |/bin/mail -s login admin@xxxxxxxxxxxx
(long line wrapped)
Where can I place it so that every user login activates it?
baltimoremd@xxxxxxxxxxxxxxx Thom LaCosta K3HRN Webmaster
http://www.baltimoremd.com/cobaltfacts/
Home of the CobaltFacts Web Ring - cobalt-ot and hosting-biz mailing lists