Re: [NOT NEWBIE]launching tasks as root
Re: [NOT NEWBIE]launching tasks as root
- Subject: Re: [NOT NEWBIE]launching tasks as root
- From: Charles Srstka <email@hidden>
- Date: Tue, 1 Oct 2002 20:11:00 -0500
On Tuesday, October 1, 2002, at 07:38 PM, Ondra Cada wrote:
Unfortunately, the vsdbutil tool requires the actual UID be root.
I regret to say I don't know vsdbutil, but it looks like it is buggy.
Is there anyone you can ask to fix the bug? Or is it perhaps possible
that its creators did not want you to be able to use su/sudo?
I regret to say that I agree, and that I already have sent feedback
long ago. But I have to work with what I have...
Is there any way I can launch a task with an actual UID of root
without resorting to using sudo?
Matter of factly, sudo would not help either (its man page seems to
say otherwise, so far as I understand it, but this is what really
happens):
Oh, it worked all right - I was using that for a while. Just ripped out
the sudo code and replaced it with setuid(), which I'm happy to say
seems to be working.
Thanks,
Charles
_______________________________________________
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.