Posted in
Apple tech note
Bombich.com article
Scripting Login Tasks in OS X
Create a hook:
sudo defaults write com.apple.loginwindow LoginHook /path/to/scriptSee what the login hook is set to:
sudo defaults read com.apple.loginwindow LoginHook- Login to post comments