Help with LOGs tweaking for more privacy

How to put directories like /tmp, /var/tmp, /var/log (especially logs!) in tmpfs to enchance privacy?

ALL logs, including system ones and journald… Better to disable them fully? Or grant 50mb in ram?Can you provide instructions?

I need to reduce anything that can be used to track how i used my laptop. I understand risk that this can make troubleshooting harder.

I have 16gb of RAM. And I use it pretty much.

So if putting logs to RAM is bad for performance maybe in /dev/null (won’t constant use of dev/null harm SSD?)? But I need not to break anything in system. And yes, I am okay with headache with troubleshooting. This is tradeoff for maximum privacy if unauthorized access.

How to do so? Can you please help for both versions (tmpfs and /dev/null)?

Linux mint 22

Hi @lamehen ,

Interesting idea! I have tested this setup now. Have a look at this article about making your Linux more private.

It worked without any issue. However, you might give some more testing. Try also add some custom files to the tmpfs mounted directories and reboot system to make sure that they are gone after reboot.

Let me know if there are some issues so I might as well update the article.