Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up a secure, multi-client&-purpose exposed serve
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
colo
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 160
Location: Austria

PostPosted: Thu Sep 09, 2004 6:41 pm    Post subject: Setting up a secure, multi-client&-purpose exposed serve Reply with quote

...on the net.

That's what I want to do ;)

I recently rent a server at a german dedicated hosting company, and now want to provide some mates of mine with certain services. What I want to realize is basically the same thing big hosting companies got to offer, with just that little bit extra we all are longing for...

I succeeded in installing Gentoo on the system, at the time I'm running a 2.6.7-kernel for about 20 days without any problems until today. However, there are some questions I need to be answered before finally going "productive" ;)

At the time, the server is set up with apache2 (w/ php4-support compiled in and working), mysql and vsftpd. As it will not host thousands of users, and is reachable via just one single domainname, I don't need any virtual hosting capabilities - what I'd like to have is a system tailored around unix login-names. That's basically working for vsftpd and apache, the ~/public_html/-directory is reachable via http://hostname/~username/, and vsftpd correctly chroots users to their homedirectories. What's still in its planning-phase is email-support - I'd like to have each user on the server an email-account of his own, but the only thing I know up to today is I want ssl-encrpyted authentification and imap4 - no pop3-support at all. Are there any comprehensive guides you could recommend me? The _virtual_ mail hosting guide of the Gentoo Handbook Section does not really fit my needs, and besides is written badly in many respects imo.

There's another issue concerning me, too... User-created files and directories are property of the user writing them, the group they're belonging to is "users" (that's the initial group of each user on the machine). Apache runs in the context of "apache:apache", so if it reads files conatined in ~/ of some user, the access-rights for "others" kick in. Is there any way to make Apache adhere to the rights of the "users"-group instead, without leaving its own group, "apache"? It also startles me that user A is able to write to files from user B, if just user A want's apache to be access granted in writing-mode... I just could not figure out how to prevent this from happening...

In general, I'd ike to tighten my server's security up a bit... If you could provide me with any information helping me on tht, I'd gladly and thankfully appreciate it.

Thanks in advance for input of any useful kind,
- colo
_________________
Free Software. Free Sociecty. Better Lives.
Back to top
View user's profile Send private message
colo
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 160
Location: Austria

PostPosted: Fri Sep 10, 2004 12:31 pm    Post subject: Reply with quote

No suggestions anyone? :(
_________________
Free Software. Free Sociecty. Better Lives.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum