Edit the file /etc/fstab and replace the following line
tmpfs /dev/shm tmpfs defaults 0 0
with the following line
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
Then run the following commands :
# umount /dev/shmOR
# mount /dev/shm
mount -o remount /dev/shm
That's it. Done.
No comments:
Post a Comment