• 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
How to prompt for admin rights in Cocoa-Python?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to prompt for admin rights in Cocoa-Python?


  • Subject: How to prompt for admin rights in Cocoa-Python?
  • From: Bill Janssen <email@hidden>
  • Date: Tue, 21 Oct 2008 19:13:41 PDT

I'm writing a little uninstaller app in Cocoa-Python, and I need to put
up that ubiquitous OS X prompt for the admin password, then elevate the
privileges of the script to remove some directories installed as root.
Is that a standard widget?  If so, what is it?  If not, what's the
standard dance to do this in a Cocoa application?

Bill
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: How to prompt for admin rights in Cocoa-Python?
      • From: Jason Coco <email@hidden>
  • Prev by Date: Re: stringWithFormat
  • Next by Date: Re: How to prompt for admin rights in Cocoa-Python?
  • Previous by thread: Re: NSInMemoryStoreType: Not really "persistent", is it?
  • Next by thread: Re: How to prompt for admin rights in Cocoa-Python?
  • Index(es):
    • Date
    • Thread