👩💻 Join our community of thousands of amazing developers!
One of the common ways of securing your system is by making the /tmp filesystem unable to run executables. This prevents users from executing scripts in /tmp which is generally writable by everyone. You can restrict this with the mount option noexec. Here is an example: [root@bcane playground]# mount | grep play /dev/mapper/vgfirst-lv_test1 on /var/tmp/playground type ext3 (rw) [root@bcane playground]# ./helloworld.sh Hello World [root@bcane playground]# mount -o remount,noexec /dev/mapper/vgfir...