Re: How to ask for and utilize a user's password?
Re: How to ask for and utilize a user's password?
- Subject: Re: How to ask for and utilize a user's password?
- From: "Peter Borg" <email@hidden>
- Date: Fri, 6 Apr 2007 11:21:25 +0200
Hi!
If you want a full example on how to run a command-run utility in a
factored tool you can take a look at one of my projects, Lingon. You
can find the source code here:
http://lingon.sourceforge.net/
It also shows how one can send a dictionary (with different options
e.g.) to the tool and receive a return dictionary from the tool with
the result.
Cheers,
Peter
On 4/5/07, Simon Raisin <email@hidden> wrote:
I have a command-line utility that requires "sudo" to run.
I am currently converting the tool into a Cocoa based GUI tool.
Are there any samples that show how to prompt for a user's password, then
use that password to gain "sudo" like functionality?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden