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!

Disable Compilers After UPCP

Discussion in 'General Discussion' started by Solokron, Jul 31, 2007.

  1. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    850
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    I have a problem with the tweak settings disable compilers being re-enabled for unprivileged users after upcps. Is there a command line besides the usual chmods to re-run this script after a upcp?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    upcp itself probably isn't enabling them, it's the OS vendor updates that will change the permissions if a package is updated.

    You should be able to create /scripts/postupcp and add:

    #!/bin/sh
    /scripts/compilers off


    then chmod 700 the script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    850
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    Simple enough. You're the best Chirpy!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    334
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    Thank you for that! I needed it for something else.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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