Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: A workaround for Cisco VPN issues after sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A workaround for Cisco VPN issues after sleep
Authored by: rsnyder on Oct 31, '06 01:13:00PM

You need to add 'with administrator privileges' to the end of the first line after the end of the double quotes:

do shell script "/System/Library/StartupItems/CiscoVPN/CiscoVPN restart" with administrator privileges
tell application "VPNClient"
end tell

recompile and save the script.

This will throw you the administrator login panel when you run the script, and as long as your account as admin privileges, it will work just fine.

[ Reply to This | # ]