Shell Command with Sudo

David Bovill david at vaudevillecourt.tv
Fri Jun 11 11:51:46 EDT 2010


Don't think expect is the right way to do this - best would be to use an ssh
key (seem to remember that is how I used to do this back when i was on Linux
with Metacard), or else to write a bash script as a text file and then get
rev to execute that.

On 11 June 2010 16:33, Andre Garzia <andre at andregarzia.com> wrote:

> Justin,
>
> I always though you could not pipe passwords into sudo. One way to do this
> kind of stuff is to use the "expect" tool.
>
> http://expect.sourceforge.net/
>
> With expect you can automate many command line things.
>



More information about the use-livecode mailing list