I got a question.
That is I want to retrieve a system uuid to generate an identity. But I found that root privilege is needed if I execute command cat /sys/devices/virtual/dmi/id/product_uuid
.Just same as dmidecode -s system-uuid
,Someone tell me that I can install lshal
. But I don't want to install it. Because code will not work if others computer didn't install lshal
.
So I want to get product_uuid
without root privilege.