Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer > Re: Running a r...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 9 Topic 930 of 1040
Post > Topic >>

Re: Running a root process.

by Ben Artin <macdev@[EMAIL PROTECTED] > Mar 25, 2007 at 02:16 AM

In article <130b7l66kha8f20@[EMAIL PROTECTED]
>,
 SM Ryan <wyrmwif@[EMAIL PROTECTED]
> wrote:

> I would like to do some code like edit Apache configuration
> that requires uid root. What I can do is just install a setuid
> root and just make the changes unannounced. What I would like
> to do use some function like this
> 
> 	suexec(...) - Display the security dialog and on successful
> 		identification as an administrator user and password,
> 		exec the program ... as setuid root.
> 
> but after repeated attempts to get through Apple's do***entation
> I don't know if the function exists or is possible. Because I do
> have a setuid root installer, I can install setuid root programs,
> I just think it's bad form to run setuid root without the computer's
> owner realizing that I'm doing so and authourising it.

<http://developer.apple.com/samplecode/Security/idxAuthorization-date.html>

hth

Ben

-- 
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>

I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
 




 9 Posts in Topic:
Running a root process.
SM Ryan <wyrmwif@[EMAI  2007-03-24 21:56:54 
Re: Running a root process.
Sherm Pendley <spamtra  2007-03-24 19:53:32 
Re: Running a root process.
SM Ryan <wyrmwif@[EMAI  2007-03-25 00:10:20 
Re: Running a root process.
Michael Ash <mike@[EMA  2007-03-24 19:19:46 
Re: Running a root process.
Sherm Pendley <spamtra  2007-03-24 20:45:06 
Re: Running a root process.
SM Ryan <wyrmwif@[EMAI  2007-03-25 02:54:09 
Re: Running a root process.
Sherm Pendley <spamtra  2007-03-25 00:54:35 
Re: Running a root process.
Ben Artin <macdev@[EMA  2007-03-25 02:16:12 
Re: Running a root process.
SM Ryan <wyrmwif@[EMAI  2007-03-26 22:13:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 1:15:45 CST 2008.