var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
how secure /tmp on vps ??
hello. how can i secure my tmp on vps?
mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
it isnt work on vps and i have this error:
[root@ dev]# mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
mount: could not find any device /dev/loop#
Originally Posted by nimafire
In a vps you need to secure /tmp manualy
You can do it by adding following entry in “/etc/fstab”
none /tmp tmpfs nodev,nosuid,noexec 0 0
save the file and reboot the VPS, now vps get mounted with “nosuid” and “noexec”
Also you can setup stickybit to /tmp -> chmod 1777 /tmp
so what about this instruction ?
To secure /tmp on a VPS you must do the following:
Open /etc/fstab by typing nano –w /etc/fstab
Add the following on a new line:
Copy/Paste: none /tmp tmpfs nodev,nosuid,noexec 0 0
Now save the file and reboot your VPS. Once the VPS has booted back up, your /tmp is now secure. This will prevents anyone from executing anything from within your /tmp directory.
Light travels faster thn sound.This is why some people look bright until you actually hear them speak
By Steven in forum Other Web Hosting Related Offers
Last Post: 06-05-2005, 07:26 PM
By Steven in forum Employment / Job Offers
Last Post: 06-05-2005, 10:15 AM
By X-Max in forum Web Hosting Lounge
Last Post: 10-21-2004, 09:28 PM
By cweb in forum Hosting Security and Technology
Last Post: 02-20-2003, 10:25 PM
By Domenico in forum Hosting Security and Technology
Last Post: 10-06-2001, 11:26 AM