I'd like to run an OSX application with admin privileges, so the user would be asked first for his admin log/pass. Is there a bash command or an applescript command that would allow me to do that ?
Sort of a sudo command but with a graphic dialog shown to the user, similar to what the Finder shows when asking permission to write files in restricted folders.
thanks !