Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

linux operating commands and unix operating commands

web panel to manage iptables and tc - secure the implementation of changes

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-19-2010   -   Original Discussion by bor1904
bor1904's Unix or Linux Image
bor1904 bor1904 is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 31 December 2010, 10:39 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unix or Linux Question web panel to manage iptables and tc - secure the implementation of changes

Hi,

Subject of my school work:
"Web interface for managing firewall and band on the access server (Linux)"

I have a big problem because I do not know how to safely implement the change in the system and show the logs on the Web page.

Unfortunately, the number of solutions for today is enormous and it is increasingly difficult to me to decide on the right.

They are:
1. Launching a web server with root privileges (the default mode of miniserv'a Webmin)
2. CGI scripts on apache SUID (mode webmin on "foreign" server)
3. suPHP or suexec
4. Cron implements changes to the root
5. Daemon in C "periodically" implement changes in the configuration files created by PHP
6. Daemon in C to implement the changes requested in the configuration files created by PHP
7.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password in the DB)
8.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password, enter manually)
9. Like the above so that the use of sudo and user rights only to the necessary shell commands
10. Add the user apache in the /etc/sudoers can perform all the necessary applications shell commands
11. Seize the opportunity to command: shell_exec ( `sudo php-f / home /example/script.php`), and /etc/sudoers


(probably a few more options ...)

What should I choose?

(one of the main objectives of the application is simple and it is addressed to support small networks or networks class SO/HO)

sorry for my English, but I never learned this language

Thanks in advance and greet.
web panel to manage iptables and tc - secure the implementation of changes-logika-gif
Sponsored Links
 


Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help on AWK implementation EmbedUX Shell Programming and Scripting 5 10-01-2009 06:41 AM
Secure FTP Problem using Sun SSH on Client system F-Secure on Server system ftpguy Solaris 2 01-11-2007 12:19 PM
Flat Panel Display pressy What is on Your Mind? 2 10-10-2006 01:34 PM



All times are GMT -4. The time now is 01:06 PM.