Script to run a unix command via browser?
I need to run a few unix commands via my browser.. does anyone have a script that allows this?Specifically, I need to kill a runaway process when they occur and I don't always have access to SSH. I'd love a script that could give me a simple text box where I can type something like "kill [pid]", press submit and the results are displayed in another box/frame/iframe.
I don't need to worry about user permissions, because the runaway processes are always be the same user as the one I would run the "command" script from.
Thanks!