New *useful* CPanel Script : /scripts/securetmp

Hey folks..

Just a FYI.

For those of you who either don't have a /tmp partition (ie: ev1 users) or those who don't have their /tmp partition set to noexec, bdraco and I have written a script (I was mostly just the idea behind it..and the howto behind it) to create a /tmp and noexec it and everything.

Basically, /tmp is the most (or close to the most) widely exploited directory, if it's set to noexec, the chances of users exploiting you by uploading a file and executing it is much less.

This script will do everything, including backing up your current /tmp and /var/tmp, creating a /tmp partition if it is not created, if it is created, it'll secure it.

No reboots, or anything required, just:

/scripts/updatenow
/scripts/securetmp

Hope this is helpful to everyone..lemme know if you have any questions, works on both Linux and FreeBSD.

Enjoy New *useful* CPanel Script : /scripts/securetmp

 

 

 

 

Top