Secure Web-Based Administration

From: Ryan (ryan@vbnet.net)
Date: 01/17/03

  • Next message: Glen Mehn: "Re: How to build CD with chkrootkit on it?"
    Date: Fri, 17 Jan 2003 09:59:44 -0500 (EST)
    From: "Ryan" <ryan@vbnet.net>
    To: <focus-linux@securityfocus.com>
    
    

    I would like to create some web pages/scripts (probably using PHP since I
    use it for a lot of other things) to assist me in administering my linux
    machine. What are some ways that I can execute certain administrative
    commands (such as ifconfig,iwconfig,route,scripts in my /etc/init.d/
    directory, etc...) as root?
    I'm fairly familiar with the different access-control methods available to
    me to restrict access to these pages. I will definitely be using SSL with
    a self-signed certificate. I'm just not sure how to get my web server
    (which doesn't run as root and I want to keep it that way) to execute
    these commands with superuser privileges.
    Thanks

    Ryan
    ryan@vbnet.net



    Relevant Pages

    • Re: Secure Web-Based Administration
      ... > use it for a lot of other things) to assist me in administering my linux ... > (which doesn't run as root and I want to keep it that way) to execute ... The next option would to have CGIs that are suid root. ... user to run specific commands and no others. ...
      (Focus-Linux)
    • Re: Secure Web-Based Administration
      ... On Fri, 17 Jan 2003, Ryan wrote: ... > I would like to create some web pages/scripts (probably using PHP since I ... > use it for a lot of other things) to assist me in administering my linux ...
      (Focus-Linux)