• 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
Re: Running Script as root using Sudo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Script as root using Sudo


  • Subject: Re: Running Script as root using Sudo
  • From: garbanzito <email@hidden>
  • Date: Wed, 27 Feb 2002 19:32:41 -0700

at 2002 02 27, 11:46 -0800, they whom i call Christopher Nebel wrote:
or better yet,

do shell script "command" with administrator privileges [password "password"]

okay, that's great! thanks.

i think that is the first mention on this list, and it's not
in the 1.8.1 release notes, but it is in the dictionary. and
many of us had been futzing around with sudo all this
time....

experimenting with this, making non-blocking processes,

do shell script "sleep 600 >/dev/null 2>&1 &" with administrator privileges

i notice that it sets the sudo time-stamp, so that when i go
to kill the above-created process via Terminal & sudo, no
password is requested.

--
steve harley email@hidden
_______________________________________________
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.

References: 
 >Re: Running Script as root using Sudo (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Anyone working with Quark in OSX and getting good results of fonts size?
  • Next by Date: Re: Displaying Dialog with text only
  • Previous by thread: Re: Running Script as root using Sudo
  • Next by thread: Unexpected negativity
  • Index(es):
    • Date
    • Thread