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 |
anyone?
|
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. |
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 |
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 ." |
All times are GMT -5. The time now is 09:04 AM. |