I have a server I need to re mount the /tmp partition to run exec.
The code I want to use is:
mount -o remount,exec /tmp
Run the program that needs it.
Than change it back.
mount -o remount,noexec /tmp
This is production server so I'm really worried about un mounting /tmp or changing the mount.
Thanks,