Re: Password input dialog?
Re: Password input dialog?
- Subject: Re: Password input dialog?
- From: Matthew Smith <email@hidden>
- Date: Thu, 15 Aug 2002 09:48:33 +1000
on 15/08/2002 09:03, Christopher Nebel at email@hidden wrote:
>
On Tuesday, August 13, 2002, at 05:14 PM, Muller wrote:
>
>
> Hello all, I am using shell scripts inside applescript and I am
>
> wondering the syntax for presenting an input dialog to the user to
>
> acquire authentication for using sudo.
>
>
The "with administration privileges" option to "do shell script" will
>
take care of calling sudo and collecting the password for you. The
>
current implementation has some restrictions on what you can call with
>
admin privileges; see Chris Espinosa's post.
That should be "with administrator privileges".
It should also be explained that this will prompt the user for the password,
unless you supply the password to the "do shell script" command line.
--
Matthew Smith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.