if you have WHM/Cpanel already installd as a WebHost manager then you will gain this great feture of secureing temp by just running a simple command
just run the following command:

/scripts/securetmp

result:

root@box01 [~]# /scripts/securetmp
Would you like to secure /tmp & /var/tmp at boot time? (y/n) y
Would you like to secure /tmp & /var/tmp now? (y/n) y
Securing /tmp & /var/tmp
/tmp is already secure
/var/tmp is already secure
Checking fstab for entries ...Added fstab entry (/var/tmp)....Done
Logrotate TMPDIR already configured
Process Complete

2 COMMENTS

  1. Hi

    first excuse me for the delay
    could you please tell me what you exactly want to accomplish
    symlinking is not an attack nor an intrusion

    I’ll be standing by for your inquiry

    Thanks

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.