Skip to main content

What is good practice making /tmp /var/tmp noexec on cpanel server?

Comments

3 comments

  • 24x7server
    Hi. From what I can see that your server is a openvz VPS container, so you will not be having separate partition and the current tmp that is mounted on your machine is already a block file that is created on your machine i.e., hard disk itself. I see no issue keeping it this way and continuing. What exact issue are you facing with this?
    0
  • cPanelMichael
    Hello, Your current configuration is one of the more common configurations for the /tmp partition in the cPanel environment. I don't recommend making any changes, however you will likely find more user-feedback on tmpfs performance or reliability at a website such as StackOverflow: StackOverFlow - tmpfs search results Thank you.
    0
  • postcd
    Thx for the feedback! So from Michael's post, i will assume my setup is OK/optimal, until someone explain it is otherwise. BTW: If someone found this topic wanting to apply noexec tmp setup as mine, here are steps i did.
    0

Please sign in to leave a comment.