Executing a process as another user in Cocoa.
Executing a process as another user in Cocoa.
- Subject: Executing a process as another user in Cocoa.
- From: Andy Satori <email@hidden>
- Date: Tue, 9 Mar 2004 19:40:45 -0500
I thought the Auth Services and Security API would allow me to do this,
but I am apparently missing something.
What I want to be able to do is to execute a StartupItem from a User
space application (a Service Manager for my application). No problem,
open Terminal, sudo /Library/StartupItems/MyService/MyService restart,
type password. Good to go.
The problem is that if I use Auth services to do the same thing, I'm
failing inside the script with a password request to run
ConsoleMessage. Anybody have any suggestions on how to work around
that?
Andy Satori
Satori & Associates, Inc.
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.