* sysfs-class-firmware-attributes - hp-bioscfg new_password
@ 2026-01-23 7:53 Devaud Olivier (EDU)
0 siblings, 0 replies; only message in thread
From: Devaud Olivier (EDU) @ 2026-01-23 7:53 UTC (permalink / raw)
To: platform-driver-x86@vger.kernel.org; +Cc: jorge.lopez2@hp.com
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-23 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23 7:53 sysfs-class-firmware-attributes - hp-bioscfg new_password Devaud Olivier (EDU)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox