Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 10-18-2010, 08:23 AM suexec wont work!
Junior Talker

Posts: 1
Trades: 0
Hi there.

My goal is to set up a virtualhost for a user and that he doesnt have read-access outside his home-dir when using PHP.

It looks lika suexec is enabled in my apache already (I use Apache-Friends version) so I did the following:

1. Created a user called "test".

2. Made it impossible for him to read something outside his home dir in /etc/passwd (with /bin/rbash)

3. Added the following to etc/extra/httpd-vhosts.conf:

<VirtualHost *:80>
ServerName test.mydomain.com
SuexecUserGroup test test
DocumentRoot /home/test
</VirtualHost>

4. Reloaded config: /opt/lampp/lampp reloadapache

He can still se everything on the server. Why? Apache is running by user "nobody" (group "nogroup"). Ideas?

Thank you in advance!
chrille156 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to suexec wont work!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62524 seconds with 12 queries