|
|||
|
Yes /tmp is the common value for that
|
|
||||
|
Quote:
for you as much as for the benefit of everyone reading this thread .... Most servers generally have /tmp setup incorrectly for security by default and this is one of the largest and most exploited security holes that is ironically most often overlooked when most people try to harden the security on their servers. The good news is this is an easy issue to fix ... Though it doesn't always work, cpanel provides a script that may help: Code:
# /scripts/securetmp Would you like to secure /tmp & /var/tmp at boot time? (y/n) y Would you like to secure /tmp & /var/tmp now? (y/n) y 1. Edit your /etc/fstab file and look for the line that says "/dev/shm" and you may see something like the following: Code:
tmpfs /dev/shm tmpfs defaults 0 0 Code:
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
__________________
My Server Expert: Server support, security, and management! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WHM Information (RE: upload_tmp_dir and PHP) | g3b | cPanel and WHM Discussions | 4 | 02-19-2003 04:37 PM |