I was wondering if it is possible to have a perl script running as a service that can detect a user login. Is there some event trigger or sink it can monitor to detect when a user has logged in? I need to run a script as a service and then execute its tasks when a user logs in.