Powered By Blogger

Thursday 28 February 2013

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

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

Secure " /dev/shm " partition :

#vi /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

Done.  :)


Regards,
Anzil Ali Liyakkath
Technical support
Myloth Technologies Pvt. Ltd.
Technical Wing: WebHostRepo Software Solutions

web:http://www.webhostrepo.com
twitter:http://twitter.com/webhostrepo
facebook:http://facebook.com/webhostreposs
linkedin:http://in.linkedin.com/in/webhostrepo

 

No comments:

Post a Comment