FROM : lazee
DATE : Wed Dec 15 20:57:08 2004
I've seeen several examples of how to run a commad line tool as root and
the information is pretty clear but the problem is I need to gain root
access for the application Im building. It basically needs to be able to
remove several files in /Library so I need the application to get
authorized after it has executed, and the user chooses a given function.
Does any one know of examples, or would some one be able to help with this?
I suppose gaining authorization at awakeFromNib or
applicationDidFinishLaunching would work just as well.
April.
DATE : Wed Dec 15 20:57:08 2004
I've seeen several examples of how to run a commad line tool as root and
the information is pretty clear but the problem is I need to gain root
access for the application Im building. It basically needs to be able to
remove several files in /Library so I need the application to get
authorized after it has executed, and the user chooses a given function.
Does any one know of examples, or would some one be able to help with this?
I suppose gaining authorization at awakeFromNib or
applicationDidFinishLaunching would work just as well.
April.






Cocoa mail archive

