1

On OS X privileged operations are done through AuthorizationExecuteWithPrivileges() around which Apple published two recommendations:

The old MoreAuth using setuid helper tools.

The current BetterAuthorizationSample littering the system with launchd files.

I don't know any applications using the latter...

Tobias
  • 3,882
  • 2
  • 22
  • 25

2 Answers2

1

I'm trying to use it at the moment. The only objection I have is that when one deletes my application the helper tool stays where it is.

Georg Schölly
  • 124,188
  • 49
  • 220
  • 267
1

I've used it, and it's a pain to implement. FWIW, I know that BBEdit and PGP Desktop use it.

Jonukas
  • 706
  • 5
  • 18