Skip to contentSkip to conversation

sysfs-class-firmware-attributes - hp-bioscfg new_password

DISCUSSION Devaud Olivier (EDU) 1 participant 1 message Jan 23 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

Dear,

I try to define a new admin password with sysfs-class-firmware-attributes from a live Linux, Clonezilla, kernel version : Debian 6.12.32-1.
I can use with success the sysfs-class-firmware-attributes to modify BIOS setting, e.g.: "/sys/class/firmware-attributes/hp-bioscfg/attributes/Force Check on Reboot/current_value"
- echo -n "myCurrentPassword" > "/sys/class/firmware-attributes/hp-bioscfg/authentication/Setup Password/current_password"
- echo -n "Enable" > "/sys/class/firmware-attributes/hp-bioscfg/attributes/Force Check on Reboot/current_value"
- echo -n "" > "/sys/class/firmware-attributes/hp-bioscfg/authentication/Setup Password/current_password"

But I cannot define a new BIOS admin password on a laptop, HP EliteBook 840 G7 with the BIOS up to date. The commands used are :
- echo -n "myCurrentPassword" > "/sys/class/firmware-attributes/hp-bioscfg/authentication/Setup Password/current_password"
- echo -n "myNewPassword" > "/sys/class/firmware-attributes/hp-bioscfg/authentication/Setup Password/new_password"

When a reboot the laptop the BIOS admin password is always "myCurrentPassword".

There are no messages when a run the commands.

Best Regards.

Olivier Dévaud
Concepteur et coordinateur opérationnel

RÉPUBLIQUE ET CANTON DE GENÈVE
Département de l'instruction publique, de la formation et de la jeunesse (DIP) Service écoles-médias
Rue des Gazomètres 3
Case postale 241 - 1211 Genève 8
Tél. +41 (0)22 388 33 15
Code d'acheminement interne : B808E1/DSISEM