Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One Admin for Multiple Virtual Sites

Status
Not open for further replies.

MeNotYou

MIS
Joined
May 21, 2003
Messages
1
Location
US
Can I make one user an administrator for multiple sites under apache 1.3.20?
I want to make it so that one user (besides root) can make changes to any file on the OS end and one web-user can add, remove, or change permissions on any site for any web-user.
 
Ok first I'll asume you'r on *nix/Linux? and if so I would suggest that you are a little confused as to who can do what.

On *nix root starts Apache (httpd) and then hands over control to whatever user is specified in /etc/httpd/conf/httpd.conf, "normal" users (joe Bloggs) can write to their own home directory and (if configured) apache serves up their webpages.

Now you can add a package (SUDO) that will let root configure a file (sudoers) and allow specified users to do root'y things, just Google for SUDO.

With SUDO you could setup an admin user (lets say web-admin)that has chmod, chown, etc on the / and maybe another user big-admin who can do "some" of the tasks that would otherwise be a pain for root to have to keep doing like adding virtual hosts into teh httpd.conf and restarting apache.

I hope this helps.

Laurie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top