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.

new script [suexec]

Discussion in 'General Discussion' started by bdraco, Feb 18, 2002.

  1. bdraco

    bdraco Guest

    This script will fix cgis that are chmoded 777 that will not run because suexec forbids it.


    /scripts/fixsuexeccgiscripts
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Just wondering, is this supposed to fix all the problems with SuExec and cgi or just some? we are still experienceing problems when its enabled, so I was just wondering?
     
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    I imagine it fixes just what he sez, the scripts/files that are world-writable-executable (bit 777).........
    other suexec fixes are mentioned elsewhere throughout this forum.

    Just do a ls -la | grep suexec
    (when within /scripts on your machine)

    And you'll get an idea of the shite available to help you out if you are attempting to work within that environment.
     
  4. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    i havnt took a close look at the script but what it looks like it does is that it checks the suexec_log file for error then repairs those files. So technically it will only fix what sombody has tryed to execute and was broken. I could be wrong, this may just be one section of the script.
     
  5. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    It's only reasonable and possible way to fix scripts with checking of suexec_log.
    Anything else would take alot's of resources to check chmod's on files
    under cgi-bin dir.
    And dont all users put their executable things in cgi-bin dir.
     
Loading...

Share This Page