[Gambas-user] 'su -c command' inside Gambas, how do I?

Stefano Palmeri rospolosco at ...152...
Fri Mar 20 12:28:06 CET 2009


Hi, Benoit. Hi all.

I've a little problem here. I can't feed the root password
to a "su -c" process invocation. I've attached a little example.
In a form there's a textbox. You type the root password,
then you press 'Confirm' and you should be able to execute
su -c 'cat /etc/sudoers'. But I can't.
Any help appreciated. Thanks.

Gambas 2.11.1
Slackware 12.2

Stefano

  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: su-0.0.2.tar.gz
Type: application/x-tgz
Size: 7987 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090320/76f0e24f/attachment.bin>


More information about the User mailing list