View Single Post
  #12 (permalink)  
Old 09-11-2008, 03:32
Rsync's Avatar
Rsync Rsync is offline
System Administrator(eUKhost.com)
 
Join Date: Mar 2007
Posts: 327
Default

Quote:
Originally Posted by DPS Computing View Post
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
Quote:
mount -o remount /tmp
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.
__________________
RsyNc.
VPS Support Team

VPS Hosting ||Cloud Hosting 100% UPTIME!
Follow eUKhost on Twitter || Join eUKhost Community on Facebook
MSN: johnr @ eukhost.com
SKYPE: john_rodricks
Reply With Quote