Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A shell script to email a notice upon user login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script to email a notice upon user login
Authored by: shemp9999 on Dec 08, '04 05:03:21PM
you can use a crontab to call the code at reboot.

@reboot echo "Someone just logged in" | mail -s "Login notification" me@somewhere


[ Reply to This | # ]