Need to ruinb a command as root
Need to ruinb a command as root
- Subject: Need to ruinb a command as root
- From: Bob Bader <email@hidden>
- Date: Wed, 17 Apr 2002 14:16:34 -0400
Thanks for all the responses, the delay command works great.
However, I ran into another problem,
My script:
-----------------
tell application "Terminal"
do script with command ,
"kmodload/System/Library/Extensions/CiscoVPN.kext/Contents/MacOS/CiscoVPN"
end tell
-----------------
When I try to run this scripts it says I have to be root to do the
"kmodload" command.
I want to save my script as an application for users to click on. I can put
the sudo command in but then users have to enter a password.
Is there anyway to have apple script issue this command as root, or control
terminal as root?
I tried changing the owner and group of the finished application, but still
had the same problem. I even tried the ./ infront of the command.
Any Ideas?
Thanks
Bob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.