Skip to content

Simple Bash script which send notification when someone grant shell access for specific user.

Notifications You must be signed in to change notification settings

whoamiUNIX/Telegram_Shell_login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Telegram_Shell_login

Simple Bash script which send notification when someone grant shell access for specific user.

How to setup this script ?

If your user use "bash" shell by default then add below line at bottom of the .bashrc

/home/your_script_path/message_logon_telegram.sh

Notification message example:

Shell access from:

username pts/0 2018-06-15 19:41 (IP_Address)

Fri Jun 15 19:41:26 CEST 2018

About

Simple Bash script which send notification when someone grant shell access for specific user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages