Ways to automatically start a program when user opens session

Hello,

I am trying to enumerate all ways on macOS for launching an application when a user opens a session. Please note i am not looking for a way which requires root or sudo privileges. I have found this:

  • ~/Library/LaunchAgents/
  • Login Items (in macOS System Settings)

But are there others ?

Thanks

The only other option that springs to mind is the login hook. See here. Honestly, I can’t remember whether that requires privilege escalation or not; it was never considered an API that would DTS support.

It wouldn’t surprise me if there were others though, especially bundles and such that are loaded implicitly by other processes. In recent years Apple has been trying to lock all of those down, but I’m sure there are some that still work.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Ways to automatically start a program when user opens session
 
 
Q