• 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: [NOT NEWBIE]launching tasks as root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: [NOT NEWBIE]launching tasks as root (From: Ondra Cada <email@hidden>)

  • Prev by Date: AppleEvent question
  • Next by Date: Re: UML and Cocoa (again...)
  • Previous by thread: Re: [NOT NEWBIE]launching tasks as root
  • Next by thread: Leaking: NSFileHandle readInBackgroundAndNotify
  • Index(es):
    • Date
    • Thread