How to find Linux VM BIOS serial number without root privilege?
-
Monday, February 27, 2012 10:00 PM
Is there a Linux command or system call that provide BIOS serial number of the Linux VM, the VM is created by Hyper-V.
Dmidecode needs root privilege, I want to know whether there is a way to obtain BIOS serial number without requiring root privilege.
Thanks
- Moved by BrianEhMVP Monday, February 27, 2012 10:30 PM (From:Virtual Machine Manager – Hyper-V)
All Replies
-
Wednesday, February 29, 2012 5:17 AMOwner
I'm not aware of any. This is not directly related to Hyper-V.This posting is provided "AS IS" with no warranties, and confers no rights.
- Marked As Answer by Mike Sterling [MSFT]Owner Sunday, March 11, 2012 10:04 PM
-
Saturday, February 09, 2013 7:56 PM
as root do a "chmod +s /usr/sbin/dmidecode"
Then a non-privileged user can execute dmidecode.

