suExec doesn't seem to work

Discussion in 'Install/Configuration' started by everyone00, Mar 14, 2009.

  1. everyone00

    everyone00 New Member

    I used the easy cPanel setup method. However, my PHP processes (lsphp5) are running as nobody rather than the user. How can I fix this?
  2. mistwang

    mistwang LiteSpeed Staff

  3. everyone00

    everyone00 New Member

  4. mistwang

    mistwang LiteSpeed Staff

    It is under "Server"->"General" tab, "Using Apache Configuration File".
  5. everyone00

    everyone00 New Member

    What should I check there? suExec is enabled there (set to Yes).
  6. everyone00

    everyone00 New Member

    I've tracked the cause of this problem, but don't know the solution. If I got to x.com/myphpfile.php it runs as "x". If I go to mip/~x/myphpfile.php it runs as nobody. It looks like LiteSpeed doesn't recognize the user in the latter case. Why is that?
  7. mistwang

    mistwang LiteSpeed Staff

    Please try 4.0 release, just change the version number in our 4.0rc1 download link published in the forum, it works in our lab.
  8. everyone00

    everyone00 New Member

    Tried that. It doesn't fix the problem. The script is still executed as nobody.
  9. mistwang

    mistwang LiteSpeed Staff

    What's your cPanel version?
    Which version of Apache was used?
    Have you customized httpd.conf?
    Is it possible for us to login to your server and take a look?
  10. everyone00

    everyone00 New Member

    cPanel 11.24.4-S33345 - WHM 11.24.2 - X 3.9

    Server version: Apache/2.2.11 (Unix)

    No.

    Yes, just let me know where to e-mail the information.
  11. mistwang

    mistwang LiteSpeed Staff

    just PM the login information.
  12. mistwang

    mistwang LiteSpeed Staff

    find out the root cause of the problem. /home/ is symbolic link to /vol/home/ directory, so it cause some confusions with UserDir feature. It has been addressed in latest 4.0 build. Works properly now.
  13. masood_y

    masood_y New Member

    I have "everyone00" issue too.
    many hosted sites on our server hacked.
    How can resolve this issue?
  14. mistwang

    mistwang LiteSpeed Staff

  15. masood_y

    masood_y New Member

  16. mistwang

    mistwang LiteSpeed Staff

    All user's PHP script runs as its own user id, looks normal to me.

Share This Page