bdraco / addon_securityadvisor

Old Security Advisor for cPanel 11.40 (upstream repo) -- Use CPANELINC/addon_securityadvisor
Other
16 stars 56 forks source link

Add prelim code for php_running_as_nobody #3

Closed rurban closed 10 years ago

rurban commented 11 years ago

text missing how to change the php user (not a Tweak Setting) also fix a typo in Spam: psuedo-user

I also added it to deathstar

bdraco commented 11 years ago

I think its better to check how rebuild_phpconf checks (Proc::ProcessTable might not be available by default, but Cpanel::PsParser is). If they aren't running suphp or cgi+suexec , or mod_ruid2 they its going to be running as nobody.

/usr/local/cpanel/bin/rebuild_phpconf --current

Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: none SUEXEC: not installed RUID2: enabled

Jamyn commented 11 years ago

I have a fix for this pending - I'm waiting on group review, and then I'll submit the pull request. Thanks.

bdraco commented 10 years ago

Please resubmit when re-done.