A script that requires root privileges needs to be executed when a non-root privileged user signs in/out. How do I handle this?
PAM looked a bit intimidating. I actually stumbled upon a way to solve this while trying to solve another problem. Upstart scripts. I was able to write a simple script that ran as root for non-root users when they logged in.