LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-11-2004, 12:20 PM   #1
holdika
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Lightbulb SSH Login Notification


Hello,
I would like to enable a "bash" file I think it's called that. When ever someone logs into my server it would send out an email notification to me. It was enabled before by someone, but I would like to do this myself. How can I do this?
thanks
 
Old 08-11-2004, 02:39 PM   #2
holdika
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
anyone?
 
Old 08-11-2004, 03:26 PM   #3
Eagle_Seven
Member
 
Registered: Aug 2004
Distribution: Suse 9.1 Pro
Posts: 54

Rep: Reputation: 15
Maybe you're confused.

BASH stands for

BourneAgainSHell

It is the most common shell of the command line, and you can use it in almost all of the major distros. However, you may be refering to a script you accessed in BASH.

Last edited by Eagle_Seven; 08-11-2004 at 03:30 PM.
 
Old 08-11-2004, 03:28 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,246

Rep: Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025
I hope I understand your qn correctly. A bash file is a script that can be run, containing cmds like the ones you would normally type in at the cmd line.
Hopefully you mean by enable that someone else has already written it for you and you just need to link it in to the login sequence.
A good place to put a call to it would be at the end of /etc/profile.
This assumes you mean an interactive login, not a web access.
HTH
 
Old 08-11-2004, 03:39 PM   #5
holdika
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
This what he did I believe

"File integrity checker also has been conf: and sends an email to blahblah@hotmail.com verifying the checksums of various files on the server.

email will be send to blahblah@hotmail.com everytime an user ssh as root to your server ."
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh login only with ip CloudBuilder Linux - Networking 3 07-31-2005 11:20 AM
Telnet login: Notification format 55riaz Linux - Networking 2 07-28-2005 01:06 AM
ftp login -- ssh no login waffe Linux - General 4 12-27-2003 12:42 AM
SSH Login Again gsibble Linux - Newbie 13 08-11-2003 03:15 AM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 10:16 AM


All times are GMT -5. The time now is 10:12 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