Ok, so I'm having a hard time getting this stupid simple login script to work.
In WGM, under the computer groups > Pref > Login > Scripts, I've added a login script.
Below is what I am adding to the script
When I execute the script locally on my laptop, I get the following error in terminal
I've done the following to make it executable
I can't set the script to login for each account, because the accounts are network based, and on 37 iMacs, with 125 students a day, the above way is a must for me.
In WGM, under the computer groups > Pref > Login > Scripts, I've added a login script.
Below is what I am adding to the script
Code:
#!/bin/bash defaults write -app iMovie allowNV -bool true
When I execute the script locally on my laptop, I get the following error in terminal
Code:
Jeff$ /Users/Jeff/login ; exit;
/usr/bin/defaults: /usr/bin/defaults: cannot execute binary file
logout
I've done the following to make it executable
Code:
chmod +X /path/to/loginscript
I can't set the script to login for each account, because the accounts are network based, and on 37 iMacs, with 125 students a day, the above way is a must for me.