Re: verify pasword
Re: verify pasword
- Subject: Re: verify pasword
- From: Stefan Arentz <email@hidden>
- Date: Fri, 1 Jun 2001 11:20:21 +0200
On Thu, May 31, 2001 at 01:21:51PM -0700, Steve Gehrman wrote:
>
I need to run a command line tool using sudo. I need to get the root
>
pasword from the user. Is there a simple way of verifying that the root
>
pasword is correct before executing the tool? I was thinking of running
>
an a simple NSTask like "sudo date" and seeing if I get the "Sorry, try
>
again." response, but I would like to avoid such a lame hack.
>
>
(pasword misspelled intentionally, this list has some crazy security
>
filter that will block my message)
We should have an FAQ :-)
See:
http://www.stepwise.com/Articles/Technical/2001-03-26.01.html
Stefan