Elevated Process

Bob Sneidar bobs at twft.com
Thu Oct 7 13:30:59 EDT 2010


I think you are going to have to roll your own dialog in LC and then pass that to the terminal. You can enter the password on the next line of a sudo command and it will authenticate fine. The problem then becomes you may be passing the password to the terminal in the clear. Not sure how that works with shell commands from LC. 

put "sudo ping localhost" & return & "myPassword" into myShellCommand

Something along that line. 

Bob


On Oct 7, 2010, at 7:09 AM, Generic Email wrote:

> I am on OS X, and I want to click a button, and have that button run a sudo command.
> 
> but it needs to prompt for a password.
> 
> Is there a way from LC to use the standard OS X elevated process dialogs?
> 
> Thanks!_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list