Jump to content

Recommended Posts

Hello, my workflow starts by opening my VPN, however when my VPN launches a popup asks for the administrators password saying 
'osascript wants to make changes enter your password to allow this.
I would like to know if anyone else has found a solution for this because it's stoping my workflow.
Anyone know if it is possible to add the password input to the workflow or disable this prompt or maybe over come it with a script or maybe a setting in apple or something? 

 

Does anyone else have this prompt when starting a vpn?

 

 

 

 

 

 

 

Screen Shot 2017-05-17 at 2.33.33 PM.png

Share this post


Link to post

If you try to change the network settings via a script, macOS will require your password. It's a basic security feature.

 

If you don't want to be asked for your password, you need to create a privileged helper program, which will require you to enter your password to install it.

 

It might also be possible to enable your script to work by editing the sudoers file.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×