You must secure your tmp files after installing virtualmin

Centos tmp folder is dangerous specially if you using webmin with it. To secure I followed this example. Please make copy of files before you edit it.

nano -w /etc/fstab

Now we need to create a new line, so navigate to the bottom of the file using your arrow key’s and append the following line, I recommend copying & pasting to ensure you don’t get it wrong.

none /tmp tmpfs nodev,nosuid,noexec,size=2GB 0 0

I used to GB but you can use more or less. This is because I was running cron jobs. Experiment with it and see what works for you.
Save the file after edit it with with control x.

So our changes have been applied to the configuration file, we just now need to remount the temp directory to make the changes become live on the system. Double check the changes before running this command:

mount -o remount /tmp

Enjoy.

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed