Does the command run OK if you run it as root from the shell?

Enrique Toledano <enrique.toledano@gmail.com> wrote:

Hi, Jamie:

 

I am trying to use the new "command to run run before editing"  in webmin 1.562, but it seems is not working for me:

 

In a "normal" command (not in the edit file), if I run for example winexe --system -U user%password //host 'cmd /c hostname' , it works correctly (it connects to a Windows server to get the hostname), but if I put the same sentence in the "command to run before editing", the command enters in a loop and never ends. Also, in custom command I can select which user the command runs under, the folder where it runs, etc.

 

Could it be possible for the "command to run before editing" to work as the rest of commands?

 

Thanks in advance