Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: suEXEC / suPHP
PostPosted: Sat Apr 07, 2012 12:22 pm 
Offline
Newbie

Joined: Sat Apr 07, 2012 12:14 pm
Posts: 2
I'm trying to configure a Linux server with secure permissions in /var/www. I've read that you shouldn't add your user account to the www-data group for various reasons. Instead, it's best (I'm told) to create a separate developer's group.

Here's what I did:

Code:
group add developers
usermod -a -G developers my_account
chown -R root:developers /var/www
find /var/www/ -type d -exec chmod 2775 {} \;
find /var/www/ -type f -exec chmod 664 {} \;


Also, edit /etc/apache2/envvars and add:

Code:
umask 002


Given the above, (a) am I reasonably secure and (b) how do I install/properly configure suEXEC to allow the sites to write (e.g. Wordpress)? Or, is there something else I should consider?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group