User Guide

© Copyright Lenovo
8
Password Authentication
If a Supervisor password has been set, authentication needs to be performed before a BIOS setting can
be changed. The following commands performs password authentication.
echo [Password String] > /sys/class/firmware-attributes/thinklmi/authentication
/[Password Type]/current_password
echo [Encoding] > /sys/class/firmware-attributes/thinklmi/authentication
/[Password Type]/encoding
echo [Keyboard Language] > /sys/class/firmware-attributes/thinklmi/authentication
/[Password Type]/kbdlang
Reference the table below for details on each parameter
Description
Possible selections
Current password string
“abc” – raw ascii character
“1e302e” - scancode
Password string encoding
ascii
scancode
Keyboard languages
"us" - English US, English UK,
Chinese-Traditional, Danish, Dutch,
French-Canadian, Italian, Japanese,
Korean, Norwegian, Polish, Portuguese,
Spanish-European, Spanish-Latin American,
Swiss, Turkish
"fr" - French-European, Belgian
"gr" - German, Czech, Slovak, Slovenian
If the supervisor password is set as hello, with ascii encoding and the keyboard type is US, the below
command example will authenticate the BIOS setting. Once authenticated, it remains valid till the next
restart. The default value for Encoding is ascii and the Keyboard Language is US. Set these only if it is
different from the default.
Sample terminal output
For the [Password Type], refer the table in the following page.
echo hello > /sys/class/firmware-attributes/thinklmi/authentication
/Admin/current_password
echo ascii > /sys/class/firmware-attributes/thinklmi/authentication
/Admin/encoding
echo us > /sys/class/firmware-attributes/thinklmi/authentication
/[Password Type]/kbdlang