Skip to content

Instantly share code, notes, and snippets.

@timofurrer
Created June 15, 2013 13:29
Show Gist options
  • Save timofurrer/5788124 to your computer and use it in GitHub Desktop.
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`
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