views:

79

answers:

2

I need to basically do a "sudo" but, I need to give that kind of permission to my NSTask code. Is this possible?

Thanks, Elijah

A: 

Look here:

 open -a Safari http://www.sveinbjorn.org/STPrivilegedTask

 open -a Safari http://www.sheepsystems.com/sourceCode/authTasksCocoa.html

HTH :-)

tally
A: 

Some related information is given in the article "Communicating with a Privileged Tool"

See: http://osx.hyperjeff.net/Reference/CocoaArticles?cat=29

carl

related questions