Talk About Network



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 > Running a root ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 930 of 1025
Post > Topic >>

Running a root process.

by SM Ryan <wyrmwif@[EMAIL PROTECTED] > Mar 24, 2007 at 09:56 PM

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 documentation
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.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
A bunch of savages in this town.




 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 Jul 4 16:52:24 CDT 2008.