/dev/shm is not mounted with the noexec,nosuid options (currently: none). You should modify the mountpoint in /etc/fstab for /dev/shm with those options and remount

when i checked ConfigServer Security&Firewall>Server Security Information>Check Server Security of my Linux CENTOS 5.8 i686 server, i got this error: /dev/shm is not mounted with the noexec,nosuid options (currently: none). You should modify the mountpoint in /etc/fstab for /dev/shm with those options and remount in the portion of Server Check against option Check /usr/tmp is mounted as a filesystem or is a symlink to /tmp


How i can deal with it and how i can remove this error warning ConfigServer Security&Firewall?

You can easily remove this warning from ConfigServer Security&Firewall through commands using as root in a software like putty.
There are a few command through which you can edit and mount it again according to warning, you need to simply deploy below given commands after being login as root in putty.


Then save that file by typing Ctrl+X then Y then Append, it will take you back after saving your configuration

Now you have to remount, it is also very simple, insert below given command in your putty box
mount -o remount /dev/shm
you have done, here you can restart apache server through WHM/Cpanel Interface Restart Services>HTTP Server (Apache) , Now you can recheck, there would not any warning regarding this issue left anymore.

Add a Comment

*