The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    38
    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.
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
  3. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    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:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    I would have prefered the command rather than RTFM. Anyways i found my way. Thx.
     
  5. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Well its not the case with me atleast. Its working me perfectly.
     
  6. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    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!
     
  7. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    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:
    38
    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.
     

Share This Page