Secure " /dev/shm " partition :Edit the file /etc/fstab and replace the following linetmpfs /dev/shm tmpfs defaults 0 0with the following linetmpfs /dev/shm tmpfs noexec,nosuid 0 0Then run the following commands :# umount /dev/shm# mount /dev/shmDone.Simple :)