• 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
NSTask with admin power
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask with admin power


  • Subject: NSTask with admin power
  • From: "Andrew James" <email@hidden>
  • Date: Tue, 27 Feb 2007 11:56:52 +1030

In AppleScript i am able to run a command such as kextload with do shell
script "" with administrative rights.

How would i do this in cocoa, from my look over documentations i have been
unable to find any reference to telling NSTask to run with admin rights.

My application already stores the username and password in NSString so how
would i make it work.

PS. Is there any way to load/unload kext inside cocoa?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTask with admin power
      • From: "I. Savant" <email@hidden>
    • Re: NSTask with admin power
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: Help: Mac as a Terminal
  • Next by Date: Re: Help: Mac as a Terminal
  • Previous by thread: Re: Help: Mac as a Terminal
  • Next by thread: Re: NSTask with admin power
  • Index(es):
    • Date
    • Thread