LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-13-2013, 02:12 PM   #1
Squerl101
Member
 
Registered: Nov 2011
Location: Muskego, WI
Posts: 34

Rep: Reputation: 0
Question How can I get an e-mail sent to me when a user logs into my server?


Hey guys, I have just given a few of my friends access to my debian server. I want to be e-mailed when they log in so that I am aware of them being on my server. They are only able to login using SSH. This will also be useful so that I know who messed something up when strange things start happening.

Please help me out in finding a utility that can do this for me. Thanks for the help in advance!
 
Old 02-13-2013, 02:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
http://www.tiger-computing.co.uk/get...ery-ssh-login/

if that doesn't fit there are so so many google results... https://www.google.co.uk/search?q=ssh+login+email
 
Old 02-13-2013, 02:23 PM   #3
Squerl101
Member
 
Registered: Nov 2011
Location: Muskego, WI
Posts: 34

Original Poster
Rep: Reputation: 0
Thanks Chris, I'll have a look at this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mail server naughtyness; mail from:user@server rcpt to:user@server on exim bicpen Linux - Server 1 01-27-2011 11:53 AM
automatic mail of "Last User Login Logs" & "AIX Logs" nishith AIX 3 12-04-2009 12:42 PM
user's home directory on NFS server--what happens when user logs in from 2 computers? Mountain Linux - Networking 1 03-18-2009 03:35 PM
auto mail to root when a particular user logs in via ssh tanveer Linux - General 1 05-15-2007 07:35 PM
Server Mail Logs soulwatcher1974 Linux - Security 1 12-08-2003 11:35 PM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration