حل مشكله Check /dev/shm فى الجدار النارى csf

2012/11/06
For the issue of CSF "Check /dev/shm is mounted noexec,nosuid"


Secure " /dev/shm " partition :

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/shm
# mount /dev/shm