Hello,
I am trying to write an open-source program that will automate the disk image creation process. The only real problem I am having now is that I don't know if there is any easy way to authenticate a user password for running the sudo program. Since it always looks the same whenever it is used by any applications I have seen I am guessing that their is an API for it. I have figured out a shunt (haven't tried it yet) for catching the password stderr and then replying with stdin password yet that seems kind of messy if there is a better solution. I was looking into the security framework but it seems to be part of the carbon framework and I want this to be pure cocoa.
Any ideas?
Jeff.