On Wed, 2025-03-26 at 12:34 +0800, Paul Wise wrote:

> It turns out that since systemd 248, the hardware info is exposed
> by hostnamectl (no root), which also has machine-readable output.

One caveat to that is that the system serial number exposed as
HardwareSerial in the JSON output, is only available as root.

Since different machines of the same hardware vendor/model could have
different peripherals plugged into them; when available, it might be
worth optionally using the system serial number as a differentiator. 

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to