c++ - Escalate App Privileges Programmatically OS X -



c++ - Escalate App Privileges Programmatically OS X -

i've done digging , main ideas i've seen floating around using setuid/getuid , using authorization services (which, reason gives me symbol error when compiling appears deprecated now).

my application needs able request root access (for accessing raw disk drive) @ point, preferably os x authentication dialog (i'm new os x have no thought phone call that).

authorization services pretty supported, afaik.

here's link tutorial (with sample projects!) can utilize launch little tool in can admin priviledges , can phone call setpriority api on calling process (documentation linked you).

c++ osx root

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -