You are not logged in.

#1 2008-09-03 06:19:38

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Webserver

I host my own webserver. Its the first time I've ever messed with a webserver, but I've been doing pretty good for about 4-5 months now.

I currently have it set up so that the webroot is in /home/webservicename, and a user for that service to run under. The problem is that the setup didn't set a password for that accout, so that it can't log in, so I have to login with regular user, then su to root to edit any of the pages, since I have loging in as root disabled. It makes things a little more tedious.

I was wondering; Could I set up the service to run in /srv, which is the new default, and then set up any regular user to have write access, but still the servicename user to run the actual service. That way, I believe it would be easier to download a file via ftp/sftp, like index.html, edit, then re upload it.

Or, should I just log in with the servicename user and edit the files that way.


Does anyone have any better ideas. I'm pretty new at this, so I'd appreciate any input on this, or a better content management system.



Thanks,
Zack

Offline

#2 2008-09-03 08:18:30

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Webserver

Huh? If it's about the password, just set one: passwd serviceuser, as root


1000

Offline

Board footer

Powered by FluxBB