enable Accessibility API

tkimpton
Valued Contributor II

In previous OS i used this command to enable Accessibility

sudo touch /private/var/db/.AccessibilityAPIEnabled

for some reason if i have this in a policy in 10.8 it prompts for admin credentials.

Has anyone else noticed this

1 ACCEPTED SOLUTION

tkimpton
Valued Contributor II
echo -n 'a' | sudo tee /private/var/db/.AccessibilityAPIEnabled > /dev/null 2>&1; sudo chmod 444 /private/var/db/.AccessibilityAPIEnabled

http://apple.stackexchange.com/questions/60476/how-to-avoid-the-gui-password-prompt-when-using-osasc...

View solution in original post

1 REPLY 1

tkimpton
Valued Contributor II
echo -n 'a' | sudo tee /private/var/db/.AccessibilityAPIEnabled > /dev/null 2>&1; sudo chmod 444 /private/var/db/.AccessibilityAPIEnabled

http://apple.stackexchange.com/questions/60476/how-to-avoid-the-gui-password-prompt-when-using-osasc...