Execute EXEC or SHELL as a root
Hello, can i execute this line:
sudo ln -b /dev/ttyUSB0 /dev/ttyS0 From gambas in a virtual terminal/consol, without it ask me the root's password??? I tried like this: EXEC ["sudo", "ln", "-b", "/dev/ttyUSB0 /dev/ttyS0"] WAIT and this SHELL "sudo ln -b /dev/ttyUSB0 /dev/ttyS0" WAIT and it doesn't work.... plase someine Help ME!!! =) |
sudo does not ask for the root password.
|
What did you define in /etc/sudoers?
|
1. YES! it asks password.
2. I tried everything =( in /etc/sudoers i tried to give permision like this: user_name ALL=(ALL) ALL and also: unser_name ALL = NOPASSWD:/dev/ttyUSB0 /dev/ttyS0 and it doesn't work..... Please HElp Me !!! =) |
Quote:
Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:42 PM. |