Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

"sudo"-Befehle ΓΌber die Funktion "SysProcessExecuteCommand2"

2024-02-01
2024-02-02
  • Thomas@Moba - 2024-02-01

    Hello,

    I need to execute "sudo" commands via CoDeSys 3.5 SP 19 P5 using the "SysProcessExecuteCommand2" function. Commands without sudo are no problem, but as soon as sudo is used in a .sh or a single command, it does not work. Command=AllowAll is entered under "SysProcess" in CODESYSControl.cfg. Nevertheless it does not work.

    Does anyone know what the problem could be?

    Greetings, Thomas

     

    Last edit: Thomas@Moba 2024-02-01
  • eschwellinger

    eschwellinger - 2024-02-02

    just use the command without sudo then it will work!

     

Log in to post a comment.