[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: web-gui for scripts



Hey,

is it "something like this" or is it "this"? If it's "this", I would suggest you to install a software like Webmin or so.

Greetings.

On 18.10.2013 14:35, Pol Hallen wrote:
Howdy :-)

I searching for what is the way to create a gui interface for my scripts
("security web-gui").

So, a script could be something like this (execute by root user):

#!/bin/bash
# pr.sh
/etc/postfix reload

So, I must create a gui do "reload postfix service"

I can write a php script like this:

<?php
$output = shell_exec('/root/bin/.pr.sh');
echo "<pre>$output</pre>";
?>

But I'm afraid about security issue I've also ssl on apache web.

What is the best way to create a "web security gui"? Using post/put
apache commands? using php code?

Thanks for help!


Reply to: