• 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: Determine if user can admin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determine if user can admin


  • Subject: Re: Determine if user can admin
  • From: Quinn <email@hidden>
  • Date: Tue, 19 Apr 2005 17:20:13 +0100

At 9:04 -0700 19/4/05, Eric Long wrote:
I'm trying to set things up in a manner that is more convenient for a user
who is allowed to administer the computer.  Sort of like how the OS used to
require you to authorize constantly to do just about anything, then things
were made easier for users who are designated administrators, so they only
have to authenticate to perform tasks that actually alter the system.

It sounds like you should integrate with Authorization Services.

<http://developer.apple.com/technotes/tn2002/tn2095.html>
<http://developer.apple.com/samplecode/AuthForAll/AuthForAll.html>

Because the OS caches the users credentials when they log in, you can create a custom right specification that requires the user be part of the admin group, and that right specification will benefit from the cached credentials.

And, if the user, or a sit admin, doesn't like your default right specification, they can change it.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Determine if user can admin
      • From: Quinn <email@hidden>
References: 
 >Re: Determine if user can admin (From: Eric Long <email@hidden>)

  • Prev by Date: Re: Cann't make connection to a graphics IOService
  • Next by Date: Re: Determine if user can admin
  • Previous by thread: Re: Determine if user can admin
  • Next by thread: Re: Determine if user can admin
  • Index(es):
    • Date
    • Thread