Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OS X では、Apple が 2 つの推奨事項を公開した AuthorizationExecuteWithPrivileges() を介して特権操作が行われます。
setuid ヘルパー ツールを使用する古い MoreAuth。
システムに launchd ファイルを散らかしている現在の BetterAuthorizationSample。
後者を使用するアプリケーションは知りません...
とりあえず使ってみます。私が持っている唯一の異議は、アプリケーションを削除しても、ヘルパー ツールが元の場所にとどまるということです。
私はそれを使用しましたが、実装するのは面倒です。FWIW、私は BBEdit と PGP Desktop がそれを使用していることを知っています。