Python Project: Send a Text Message when root logs in @tutoriaLinux
Python Project: Send a Text Message when root logs in  @tutoriaLinux
Uploaded April 2020 | Updated September 2026, 2 weeks ago
A sped-up Python coding session where I program a script to alert me (via SMS) whenever root logs in via SSH, or when someone uses 'sudo'. I've sped it up from ~2.5 hours to about 15 minutes, with a few breaks for explanation about my approach. None of the dead ends and wrong turns have been edited out, so have fun.


See the final script on Github: github.com/groovemonkey/sshalert -- plenty of room for improvement; feel free to contribute!
Python Project: Send a Text Message when root logs inPodcast: Switching to a Tech Career (Software Developer Interview)Set Up Your First Website with Apache VirtualHostsThe ONE Book that Every Linux Sysadmin Should HaveRealities of the Tech Industry: an interview (now with 20% more spice)A Benchmarking Story: Go, Elixir, and a 3500x speedupHow to get respect from your tech-career peersProject Tour: Hashistack (Terraform, Consul, Nomad on AWS)Service Management with systemd (Hands-On Linux Course Preview)Tech Salary Negotiation: What You Need to KnowPython 3 Programming Course: 7 - ListsWhat My First Tech Job Taught Me
tutoriaLinux |

Python Project: Send a Text Message when root logs in

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER