How to secure tmp the easy way if you have WHM/Cpanel

Filed in cpanel 2 comments

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

Related posts:

  1. creating backup of accounts in cpanel
  2. how to install CSF and LFD on Cpanel Centos Server
Posted by voshka   @   5 March 2010 2 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

2 Comments

Comments
May 9, 2011
11:31 pm
#1 dadadad :

GOOD BUT CAN U PUT A LESSON ABT HOW TO PROTECT FROM SYMBOLIC LINKS ?

Author May 13, 2011
5:09 am
#2 voshka :

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 Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone