I have a script that needs to be run as root for maybe one minute when the user ‘student’ triggers the script. I am unsure of the proper usage of such a powerful command.
What is the proper syntax?
Thanks, -Barry
I have a script that needs to be run as root for maybe one minute when the user ‘student’ triggers the script. I am unsure of the proper usage of such a powerful command.
What is the proper syntax?
Thanks, -Barry
Hi,
do shell script "command" user name "me" password "mypassword" with administrator privileges
I recommend, to read the famous TN2065