[Gambas-user] shell

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Dec 3 09:07:31 CET 2013


> Try
> Shell "echo 'mypassword' |sudo -S sh -c 'echo out
> /sys/class/gpio/gpio27/direction"
>

Bad idea.
Firstly, it supports only one password, which is stored as plain text.
Secondly, if the password is variable it would need proper sanitation
before entering it to shell.


Jussi



More information about the User mailing list