Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

phpsuexec after effects

Discussion in 'General Discussion' started by anand, May 1, 2003.

  1. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    hi!

    I just installed phpsuexec on one of my old boxes. Now i found that some files are in nobody group. Once i put them under the same user, the internal server error for these scripts vanishes. The big question how do i know which all files are chowned to nobody ??

    Manually if i have to go around that means some going through several 1000's of files to get to them.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    man find
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    166
    Well if it makes you feel any better i dont think that chowning these to the username will fix anything. I found nobody@ coming from some of my domains and when i went into the users directory and looked in the forums it was already chown to the users name but msgs coming from the forums was still from nobody! :confused:
     
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    I would have prefered the command rather than RTFM. Anyways i found my way. Thx.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Well its not the case with me atleast. Its working me perfectly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    alrite this finally worked out (thx to Juanra's RTFM)

    find /home -group nobody

    This gave me all the php scripts (and other files) which were chowned on nobody. I made a shell script to chown them back to the user. Things are returning to normal.

    Cheers!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    166
    The script that runs after you install phpsuexec, dont you think should have done this at least, chown all users scripts?
     
  8. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    The /scripts/postsuexecinstall ? It runs inturn the /scripts/fixsuexeccgiscripts. Yes i would have loved to c the script find all the files and chown them. But like its said u can't always expect everything. Atleast phpsuexec is working on this box of mine. I tried earlier but in vain.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice