Quote:
Originally Posted by DPS Computing
I assume these would also apply to dedicated linux servers?
|
Yes, this security tweak also used on Linux Dedicated Server. But securing "/tmp" partition step is different on a dedicated server.
Following is the steps to secure "/tmp" on a dedicated server.
You only need to change the Attributes of the "/tmp" without reboot the server.
You can remount the partition immediately with the new attributes as,
Quote:
|
mount -o remount,noexec,nosuid /tmp
|
OR
make the change in the fstab
Quote:
|
LABEL=/tmp /tmp ext3 noexec,nosuid,nodev,rw 1 2
|
then remount it
Following is the steps to secure your "/tmp" partition using a cPanel Script, on a cPanel server.
Quote:
1. Login to your server as root via SSH.
2. Type: /scripts/securetmp
|
cPanel wrote that script to allow users to secure their "/tmp" partition very easily.
That's all done, "
/tmp" secured on a dedicated server.