• 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: Can I use the Security framework in some way to setuid the running binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I use the Security framework in some way to setuid the running binary?


  • Subject: Re: Can I use the Security framework in some way to setuid the running binary?
  • From: Eric Peyton <email@hidden>
  • Date: Fri, 8 Mar 2002 07:58:33 -0600

On Friday, March 8, 2002, at 06:26 AM, Gerben Wierda wrote:

With the security framework, I can get a security item that I can use to start subprocesses with. But what I want is to authenticate the current running binary and give it more privileges. Is there a way to do that?


As answered before multiple times on both of these lists, No. You cannot raise the privilege level of a running application above the privilege level that application started with when launched. If an app is not launched by root or launched setuid root, it can *never* have root access.

The ways in which you use the authorization and how to launch other root processes and how to get access to root have been covered ad infinitum on these lists.

Read the archives for more information.

Eric

Thanks,

G

_______________________________________________
MacOSX-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/macosx-dev
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • A hack: using Security Framework to give your application administrator rights (at startup):
      • From: Gerben Wierda <email@hidden>
References: 
 >Can I use the Security framework in some way to setuid the running binary? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: Re: Select-by-typing in NSTableView
  • Next by Date: Still having problems with IBOutlets
  • Previous by thread: Can I use the Security framework in some way to setuid the running binary?
  • Next by thread: A hack: using Security Framework to give your application administrator rights (at startup):
  • Index(es):
    • Date
    • Thread