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

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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