I'm using cocoa and objective-C to write a front end to some command
line tools which need to run as a different user (either news or root).
I can sucessfully use NSTask to run the tools in a different thread, and
have set up pipes so I can read the output from the tools back into my
program and translate them into the GUI.
The problem I have is pursuading NSTask to change the user. I can't find
anything about it in the cocoa doentation.
Replace 'news' with 'usenet' to reply.
Email to 'news' is deleted ...