LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > user nobody

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2012, 12:39 PM
hd-sam hd-sam is offline
Member
 
Join Date: Nov 2010
Posts: 22
Default user nobody

I'm running a single site on a cpanel server.
I've installed litespeed with cpanel support and disabled suexec in the litespeed admin panel.

In order for everything to function properly with the current configuration (uploading, cache files, etc), I have to chown all the user's files to user/group nobody . Is this a security issue? or should we reinstall without cpanel support and setup litespeed to run as the user/group?
Reply With Quote
  #2  
Old 04-03-2012, 04:02 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
you should enable PHP suEXEC for shared hosting (each user has their own account uid/gid). then no need to chown.
Reply With Quote
  #3  
Old 04-03-2012, 04:11 PM
hd-sam hd-sam is offline
Member
 
Join Date: Nov 2010
Posts: 22
Got it, but what if this is a cpanel server with only one site which has PHP suEXEC disabled?

cPanel creates everything using that account uid/gid
Reply With Quote
  #4  
Old 04-03-2012, 04:52 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
if you only have one account in cpanel, then it is ok to disable PHP suEXEC.
Reply With Quote
  #5  
Old 04-03-2012, 04:56 PM
hd-sam hd-sam is offline
Member
 
Join Date: Nov 2010
Posts: 22
Right but programs that cache files, e.g. WP Super Cache, W3TC, and Timthumb for example, will then require nobody as the UID/GID to the folders/files, so that it can work.

Otherwise, it errors out
Reply With Quote
  #6  
Old 04-03-2012, 05:24 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
if you only have one account in cpanel, it is ok to have web server run as that uid/gid or change uid/gid to nobody.
Reply With Quote
  #7  
Old 04-03-2012, 05:30 PM
hd-sam hd-sam is offline
Member
 
Join Date: Nov 2010
Posts: 22
Great, Thank you for your prompt help!
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -7. The time now is 08:28 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.