Web Hosting Talk







View Full Version : how to protect /tmp more secure in Raq4/Raq550


giza
04-22-2004, 11:10 PM
I hear many exploit came from /tmp (root directory)
How to protect this /tmp directory more secure (no exec)?
Thank you

huck
05-01-2004, 11:55 AM
Raq 550 uses /tmp for executing scripts from pkgs. This prevents adding nosuexec unless you remember to disable it every time you update.

On raq 4's, you will need to have the latest kernel and can create a file using dd and then mount it via a loopback interface. There are numerous how-tos over at forum.ev1servers.com. Not that you should put the file in /home not /dev as /dev is small on the raq.