LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   user nobody (http://www.litespeedtech.com/support/forum/showthread.php?t=5816)

hd-sam 04-03-2012 12:39 PM

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?

webizen 04-03-2012 04:02 PM

you should enable PHP suEXEC for shared hosting (each user has their own account uid/gid). then no need to chown.

hd-sam 04-03-2012 04:11 PM

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

webizen 04-03-2012 04:52 PM

if you only have one account in cpanel, then it is ok to disable PHP suEXEC.

hd-sam 04-03-2012 04:56 PM

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

webizen 04-03-2012 05:24 PM

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.

hd-sam 04-03-2012 05:30 PM

Great, Thank you for your prompt help!


All times are GMT -7. The time now is 10:47 AM.