I have created a little button (script app) that quits all (even multiple tabbed firefox) and restarts to rEFIt for OS selection, but if this is run from a non-admin account it asked for the admin username and password. Is there a way to accomplish the same thing without requiring the admin username and/or password? The current line in the script reads like this:
do shell script “shutdown -r now” password “password” with administrator privileges
Any insight would be greatly appreciated.