I use applescript to launch my script with root privileges.
osascript -e "do shell script \"myscript.sh\" with administrator privileges"
This text is displayed in the prompt:
osascript wants to make changes.
Type your password to allow this.
How can I change the name "osascript" to my executables name? Is there a way to change the icon in this prompt?