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!
--
Pol


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52612af7.3000...@fuckaround.org

Reply via email to