Results 1 to 2 of 2

Thread: delegating httpd admin to non-root user?

  1. #1

    Default delegating httpd admin to non-root user?

    I have built a simple openSUSE 11.1 server to host a website for user. Apache2 is installed and working fine, now I'd like to delegate all web admin/config to a user, who does not have the root password. I would like this user to be able to edit httpd.conf and associated includes, and create/edit/remove any and all hosted web content on the server. Is this possible, and if so, is there a best practice? Thanks for any and all info/help!

  2. #2
    Join Date
    Jan 2009

    Default Re: delegating httpd admin to non-root user?

    The user may keep the contents of the website under his home directory, where he can edit contents at will. The only thing you have to do is to place a symlink to that directory under /srv/www/htdocs and make it the root directory for the site (or configure it as a virtual host).

    For the config files you could give the user sudo permission for a command to edit that file (and nothing else). I don't know if that works, but you might try to move some of the config files to the users $HOME and set a symlink in /etc/apache2. Beware: I did never try this, and these files must at least be readable for anyone.
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts