Skip navigation.
 
mlRe: How to ask for and utilize a user's password?
FROM : Sherm Pendley
DATE : Thu Apr 05 18:03:34 2007

On Apr 5, 2007, at 11:44 AM, Simon Raisin 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?


Have a look at:

   <file:///Developer/ADC%20Reference%20Library/documentation/Security/
Conceptual/authorization_concepts/index.html>

Or online:

   <http://developer.apple.com/documentation/Security/Conceptual/
authorization_concepts/index.html
>

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Related mailsAuthorDate
mlHow to ask for and utilize a user's password? Simon Raisin Apr 5, 17:44
mlRe: How to ask for and utilize a user's password? Sherm Pendley Apr 5, 18:03
mlRe: How to ask for and utilize a user's password? Peter Borg Apr 6, 11:21