For securing temp in openvz servers

Enter into the vps and then

a. Add the following line in /etc/fstab

none /tmp tmpfs nodev,nosuid,noexec 0 0

b. mount -a

echo “none /tmp tmpfs nodev,nosuid,noexec 0 0” >> /etc/fstab;mount -a

Leave a comment