Login Hooks

How to execute scripts when a user logs into, or out of, an OS X workstation.

Apple tech note
Bombich.com article
Scripting Login Tasks in OS X

Create a hook:

sudo defaults write com.apple.loginwindow LoginHook /path/to/script

See what the login hook is set to:

sudo defaults read com.apple.loginwindow LoginHook

Technology:

Recent Updates

  • 1 year 2 months ago
    1.27.2 update
  • 1 year 3 months ago
    Drupal 10/11 config
  • 1 year 3 months ago
  • PHP
    1 year 3 months ago
    PHP 8.3.11 and AlmaLinux
  • 1 year 3 months ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.