Using sudo in shell

Thierry Douez th.douez at gmail.com
Wed Jul 8 13:54:50 EDT 2015


Hi Glen,

Not knowing your context, this might not be what you are looking for.
but as a start?

http://superuser.com/questions/256981/non-interactive-ssh-sudo-prompts-for-the-password-in-plain-text

Regards,

Thierry

------------------------------------------------
Thierry Douez - http://sunny-tdz.com
sunnYperl - sunnYmidi - sunnYmage - sunnYtext2speech - sunnYrex


2015-07-08 19:35 GMT+02:00 Glen Bojsza <gbojsza at gmail.com>:
> I was wondering if there is a way to do a shell that has sudo in it?
>
> On the first attempt (Note dart is an internal application)
>
> put shell ("sudo dart")
>
> I get the following error message
>
> sudo: no tty present and no askpass program specified
>
> Is there any way to run sudo from the shell?
>
> thanks,
>
> Glen




More information about the use-livecode mailing list