RE: [OT] Re: email notifications when users login
Thanks Michelle that worked perfect. Is there an easy variable I could
throw in there that you know off hand which would include the time
(MM/DD/YYYY) as well?
Thanks again guys
-----Original Message-----
From: Michelle Konzack [mailto:linux4michelle@freenet.de]
Sent: Tuesday, September 19, 2006 6:59 PM
To: debian-security@lists.debian.org
Subject: [OT] Re: email notifications when users login
Hi Morgan,
Am 2006-09-18 15:34:30, schrieb Morgan Walker:
> Hey guys,
>
> I was just wondering if there was a package/script out there that
could
> be used to notify the sys. admin every time a user logged into a
debian
> system.
#/etc/profile
echo "The User ${LOGNAME} has loged in." |\
sendmail -f bigbrother@fbi.gov gwb@whitehouse.gov
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
--
To UNSUBSCRIBE, email to debian-security-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: