Posted on 01-08-2014 04:58 AM
Right now I cannot open the ports needed for Configuration profiles and it will be some time before I am able to do so.
Does anyone know of another way to disable the ability to override gatekeeper? I looked at the manpage for spctl and didn't see anything indicating a way to do it there.
Posted on 01-08-2014 06:12 AM
You don't need to open any ports. You can copy Configuration Profiles locally to a machine and install them using the /usr/bin/profiles command. This is an excellent use for a payload-free package.
Posted on 01-08-2014 06:15 AM
Hola! We've had success on 10.9 using a script with the following content:
#!/bin/sh
/usr/sbin/spctl --master-disable
You can run the spctl command as the end user as well, but will need to prepend 'sudo' for it to work.
I set up a policy to run that script at enrollment, once per machine, because setting Gatekeeper settings using a config profile seemed to override our Login Window MCX settings. Hopefully you'll have better luck on your end.
Cheers!
Posted on 01-08-2014 07:40 AM
Do you want to disable Gatekeeper? Or do you want Gatekeeper running and remove the ability of your users to control-click and override Gatekeeper's blocking of a particular file?
Posted on 01-08-2014 07:55 AM
Oops, sorry, looks like I misread your question. You're looking to disable the ability to override Gatekeeper, right?
My earlier post was just a way to allow apps from anywhere...
Posted on 01-08-2014 08:03 AM
fyi, if you use a configuration profile from a current profilemanager there is an option to allow user to change their password box, and it never allows the user to change the password whether checked or unchecked, i submitted it as a bug to Apple. @Dickson you can create profiles deploy them to the system at imaging time or through Casper and install them manually without APNS working, profiles -I -F /path/to/profile.mobileconfig
Posted on 01-08-2014 01:09 PM
Thanks for the great information everyone!