LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2010, 01:56 PM   #1
bor1904
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
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.
Click image for larger version

Name:	logika.gif
Views:	42
Size:	52.3 KB
ID:	3092
 
Old 03-21-2010, 09:27 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
I would suggest you look at how other people have done it.
Have a look at cpanel, webmin, ensim, helm, plesk.
Read forum posts of the users of those control panels.
http://forums.theplanet.com/index.php?showforum=148
http://www.cpanel.net/
http://www.webmin.com/
http://www.ensim.com/
http://www.webhostautomation.com/
http://www.parallels.com/plesk/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
secure RTP implementation for asterisks bhrugu Linux - Security 2 04-01-2014 05:25 AM
LXer: New York City Transit agency chooses Novell to secure and manage its employee i LXer Syndicated Linux News 0 09-15-2007 03:11 AM
LXer: Palm Beach County Turns to Novell to Secure and Manage Its Network LXer Syndicated Linux News 0 12-13-2006 08:21 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 05:16 PM
Is this a secure implementation of telnet? system Linux - Security 6 12-19-2001 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration