Re:OS X – Safe, yet horribly insecure
by comex on Saturday June 25, 2011 @07:38PM
(#2696936)
However, you only need the password if you want to be root, and most of the stuff malware wants to do (including keylogging, which the article mentions; requiring root to intercept keyboards is only moderately useful if the regular user can gdb -p whatever app has the password field) does not require being root.
[ Parent
| on HN ]
If you want to attach a debugger to a program in OS X you are required to be in a developer group, and it will ask you for a password.
Oh, is this new in Lion or something? I've never seen that prompt before. (But in any case, there are other options such as clever use of DYLD_INSERT_LIBRARIES.)
I think it's new in Xcode 4.
Pretty sure before then, I had this problem in Xcode 3 under Snow Leopard.
This has been the same way in Xcode 3. It isn't new in Xcode 4.