• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need to ruinb a command as root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: rename file/copy file
  • Next by Date: Re: Need to make a script wait or pause
  • Previous by thread: Re: rename file/copy file
  • Next by thread: changing quark page name/number
  • Index(es):
    • Date
    • Thread