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!

Question on /scripts/securetmp

Discussion in 'General Discussion' started by dynamicnet, Aug 29, 2006.

  1. dynamicnet

    dynamicnet Member

    Joined:
    Aug 29, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Pennsylvania, US
    cPanel Access Level:
    Root Administrator
    Greetings:

    While I can no longer find the source post, I remember reading that /scripts/upcp (update cpanel script) requires /tmp to be not use noexec.

    If I understand the code in /scripts/securetmp it makes /tmp nosuid,noexec.rw

    Does this interfere in any way with the cpanel update script?

    If so, what should the /etc/fstab settings be for /tmp so the cpanel update script will work?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dynamicnet

    dynamicnet Member

    Joined:
    Aug 29, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Pennsylvania, US
    cPanel Access Level:
    Root Administrator
    Greetings Jonathan:

    Thank you for your prompt answer.

    To be concise, /tmp can be "noexec,nosuid,rw" and the cpanel update script upcp will still work correctly. Is that correct?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, that's not correct at all, upcp works just fine with /tmp mounted noexec.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Yes, it will work with those mount options.
     
    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