Subject: Working with sudo

Working with sudo

From: <andpar_at_pisem.net>
Date: Thu, 11 Mar 2010 19:33:55 +0300

I want to exec my command like "sudo pwd" though libssh2_channel_exec. Sometimes I must enter password in response to this command. How can I undertand that I need to send password and how can I do it?
Best regards,Andrey
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-11