Fedora Linux Support Community & Resources Center
  #1  
Old 12th March 2010, 05:04 PM
lhouk Offline
Registered User
 
Join Date: Apr 2007
Posts: 84
windows_xp_2003firefox
Can non-root user read BIOS Asset Tag?

If I'm root, I can use the dmidecode command to find out the BIOS Asset Tag value:

Code:
Handle 0x0004, DMI type 3, 17 bytes
Chassis Information
        Manufacturer: xxx 
        Type: xxx
        Lock: xxx
        Version: xxx
        Serial Number: xxx
        Asset Tag: 000656495
Is there a way that a user without root privileges can read this value? Thanks in advance to all who respond.
Reply With Quote
  #2  
Old 12th March 2010, 05:07 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,830
linuxfedorafirefox
Re: Can non-root user read BIOS Asset Tag?

Ummm.. yes, but only by introducing security problems.

dmidecode read /dev/mem to gain access to the data...

gaining access to /dev/mem gives access to the physical memory of the system...
Reply With Quote
  #3  
Old 12th March 2010, 05:18 PM
lhouk Offline
Registered User
 
Join Date: Apr 2007
Posts: 84
windows_xp_2003firefox
Re: Can non-root user read BIOS Asset Tag?

Quote:
Originally Posted by jpollard View Post
Ummm.. yes, but only by introducing security problems.

dmidecode read /dev/mem to gain access to the data...

gaining access to /dev/mem gives access to the physical memory of the system...
Thanks for the quick response! I know that I can use VBScript on Windows systems to get the value as a nonprivileged user with the following:

Code:
wmiService.ExecQuery( "Select SMBIOSAssetTag from Win32_SystemEnclosure" )
So I was hoping a similar capability existed for Linux -- one that returned just the Asset Tag value and maybe other non-sensitive data, and thus was allowed for all users.
Reply With Quote
  #4  
Old 24th March 2010, 05:11 PM
lhouk Offline
Registered User
 
Join Date: Apr 2007
Posts: 84
windows_xp_2003firefox
Re: Can non-root user read BIOS Asset Tag?

Quote:
Originally Posted by lhouk View Post
If I'm root, I can use the dmidecode command to find out the BIOS Asset Tag value:

Code:
Handle 0x0004, DMI type 3, 17 bytes
Chassis Information
        Manufacturer: xxx 
        Type: xxx
        Lock: xxx
        Version: xxx
        Serial Number: xxx
        Asset Tag: 000656495
Is there a way that a user without root privileges can read this value? Thanks in advance to all who respond.

This is a different but related question: could lshal be modified to show this information? Currently it shows system.chassis.manufacturer and system.chassis.type, so why couldn't it be made to show system.chassis.asset_tag? So, how does one go about asking for a feature to be added to a Linux system utility?
Reply With Quote
  #5  
Old 24th March 2010, 06:45 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
linuxubuntufirefox
Re: Can non-root user read BIOS Asset Tag?

Quote:
Originally Posted by lhouk View Post
...
So, how does one go about asking for a feature to be added to a Linux system utility?
Usually by filing a "feature request" at the projects bugtracker.

http://www.freedesktop.org/wiki/Software/hal
Reply With Quote
Reply

Tags
asset, bios, nonroot, read, tag, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Current GMT-time: 06:48 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat