I have a script I want to run whenever a user logs in. The script is stored at /.login/login.sh
This seemed fairly straightforward, I made the script executable, then executed
It seemed to work, in that it returned no error, and
returns
The problem is that it doesn't work. And I have no idea why. Can anyone enlighten me? I'm running 10.4.10
Thanks,
Russell
This seemed fairly straightforward, I made the script executable, then executed
Code:
sudo defaults write com.apple.loginwindow LoginHook /.login/login.sh
Code:
sudo defaults read com.apple.loginwindow
Code:
{LoginHook = "/.login/login.sh"; }
The problem is that it doesn't work. And I have no idea why. Can anyone enlighten me? I'm running 10.4.10
Thanks,
Russell