• 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: geteuid() while debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: geteuid() while debugging


  • Subject: Re: geteuid() while debugging
  • From: "Justin C. Walker" <email@hidden>
  • Date: Sat, 25 Jun 2005 12:58:37 -0700


On Jun 25, 2005, at 11:22 , Adam Nohejl wrote:

2005/06/25 v 15:45, Chase:
i have an if statement that looks like:
[snip]
You have to run gdb as root to debug processess running as root. (If you think about it, it makes sense.)

I don't know whether there's any way for Xcode to run gdb as root but you can do it yourself (using sudo) if you don't depend on Xcode's GUI.

I think you have to log in as root to do this; as I recall a change was made to Mac OS X a while back to prohibit launching GUI apps as root while logged in as not-root (or, perhaps, just prohibiting launching GUI apps under a different ID than that of the logged-in user; I forget).


Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Men are from Earth.
Women are from Earth.
   Deal with it.
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: geteuid() while debugging
      • From: Adam Nohejl <email@hidden>
References: 
 >geteuid() while debugging (From: Chase <email@hidden>)
 >Re: geteuid() while debugging (From: Adam Nohejl <email@hidden>)

  • Prev by Date: Re: Hooks for notification of move/rename/delete file?
  • Next by Date: Link Errors -- Relocation Overflow
  • Previous by thread: Re: geteuid() while debugging
  • Next by thread: Re: geteuid() while debugging
  • Index(es):
    • Date
    • Thread