running bash command from webmin

Help
mike white
2010-02-03
2013-05-22
  • mike white
    mike white
    2010-02-03

    Hi Folks, Im trying th run a command from webmin, the command runs from bash, this works for a particular user. The user's environment variables are set upon login via the .profile file.

    But when run from webmin it outputs errors. Is there a way to set the users environment variables in webmin to the script runs correctly from webmin as well as from bash?

    for more info please see http://www.coderanch.com/t/481280/Java-General/java/script-runs-from-command-line#2159900

    thanks in advance

     
  • mike white
    mike white
    2010-02-15

    anyone?