mitchellh/vagrant-installers — Issue #1: Use AppleScript to run shell script with admin privs
Author: mitchellh
Created: 2012-01-17 20:33:18+00:00
State: open

Some users don't have sudo access and have to enter another username. For this you must use a graphical sudo prompt:

See: http://stackoverflow.com/questions/1517183/is-there-any-graphical-sudo-for-mac-os-x