Created
June 15, 2013 13:29
-
-
Save timofurrer/5788124 to your computer and use it in GitHub Desktop.
show notification when someone logs into your computer (maybe per ssh - whatever)
File location should be: `/etc/profile.d/login_notify.sh`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DISPLAY=:0 notify-send -t 10000 -u critical "User loggin in:" `whoami` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment