Re: Can I use the Security framework in some way to setuid the running binary?
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.