User Guide

© Copyright Lenovo
9
Changing an existing BIOS password
To update a password, use the following commands
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
echo [Password String] > /sys/class/firmware-attributes/thinklmi/authentication
/[Password Type]/new_password
Reference the table below for details on each parameter
Parameter
Description
Possible selections
Password
Current password
string
“abc” - raw ascii character
“1e302e” – scancode
New
Password
New password string
“abc” - raw ascii character
“1e302e” – scancode
Password
type
Password type string
Admin": Supervisor password
Power-on": Power-on password
"HDD": Hard Disk Password (*
1
)
"NVMe": NVM password (*
1
)
"System": System Password (*
1
)
Encoding
Password encoding
“ascii”
“scancode”
language
Keyboard languages
"us" - English US, English UK, Chinese-Traditional, Danish,
Dutch, French-Canadian, Italian, Japanese, Korean,
Norwegian, Polish, Portuguese, SpanishEuropean,
Spanish-Latin American, Swiss, Turkish
"fr" - French-European, Belgian
"gr" - German, Czech, Slovak, Slovenian