From: Jamie C. <jca...@we...> - 2006-03-02 04:14:15
|
On Thu, 2006-03-02 at 14:13, Dave . wrote: > I have a shell script run from the custom commands module. It runs > successfully in a shell as well as in the custom commands module when the > "Use User's Environment is UNCHECKED. However, when I check the "Use User's > Environment" no echo commands are displayed in the ouput for the command. > The user is using a valid shell located at /bin/bash defined by the shell > script. > Any Help appreciated. What happens if you login via SSH as root, and run a command like? : su - USERNAME -s /bin/sh -c "echo foo" That is the command Webmin uses when the 'Use user's environment' option is selected. - Jamie |