/etc/machine-id questions

Hi

Can someone help me?

I am experimenting with privacy hardening on my Zorin OS.

And I am thinking about full machine-id randomization…

I found guide like:

sudo rm -f /etc/machine-id /var/lib/dbus/machine-id
sudo ln -s /run/machine-id /etc/machine-id
sudo ln -s /run/machine-id /var/lib/dbus/machine-id

Other guide says to go with GRUB (and full update via sudo update-grub) via editing /etc/default/grub where I need to change some line to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.machine_id=uninitialized"

What do you think? Better go with WHONIX one from guide below? Or randomize with my solutions? If randomize, which variant better?

Here is guide i am referring to https://madaidans-insecurities.github.io/guides/linux-hardening.html#machine-id

1 Like

Hi and welcome.

I am no expert on such things. I await with interest a response to your post.

2 Likes