Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root user cannot decode SMBIOS tables from local file #26

Open
honggli opened this issue Apr 12, 2024 · 1 comment
Open

Root user cannot decode SMBIOS tables from local file #26

honggli opened this issue Apr 12, 2024 · 1 comment

Comments

@honggli
Copy link

honggli commented Apr 12, 2024

If I run dmidecode command as root user to decode SMBIOS tables from raw data I dump before, it failed.

./dmidecode --from-dump ~/dmidecode.bin
# dmidecode 3.5
Reading SMBIOS/DMI data from file /root/dmidecode.bin.
Can't read memory from /root/dmidecode.bin

It seemed root user could use /dev/mem only, while non-root user could decode SMBIOS tables from local file.
This restriction seems not necessary, especially for some systems we only have root user.

@loganfin
Copy link

This was fixed in version 3.6. It doesn't seem like it will be backported to version 3.5 considering the change occurred 1.5 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants