-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update get device serial logic #280
Update get device serial logic #280
Conversation
Signed-off-by: Shrikant Temburwar <[email protected]>
Signed-off-by: Shrikant Temburwar <[email protected]>
Signed-off-by: Shrikant Temburwar <[email protected]>
…nt-sdk-fidoiot into update-dev-ser
Signed-off-by: Shrikant Temburwar <[email protected]>
@@ -103,6 +103,7 @@ RETRY=false # Error Recovery disabled | |||
Option to get device serial from system BIOS table: | |||
GET_DEV_SERIAL=true # get device serial enabled | |||
GET_DEV_SERIAL=false # get device serial disabled (default) | |||
NOTE: linux-client required elevated privileges to get device serial from system BIOS table. Use 'sudo' to execute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is there a sudden need to use sudo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dmidecode -s system-serial-number is a linux command and it requires permissions to display system details.
Sudo is required to get a serial number from BIOS system. If sudo is not provided then it will take the default 'abcdef' serial number
Why are we using sudo now? |
Update get device serial logic