10 kpassword uefi shell command, Am4022 uefi bios the uefi shell – Kontron AM4022 uEFI BIOS User Manual

Page 65

Advertising
background image

AM4022 uEFI BIOS

The uEFI Shell

ID 1052-1333, Rev. 1.0

Page 59

6.2.10

kpassword uEFI Shell Command

kpassword

FUNCTION:

Control EFI setup and shell passwords

SYNTAX:

kpassword [[-u [-n <password>] [-o <password>]]|

[-s [-n <password>] [-o <password>]]]

where:

-u

Install or change user password

-s

Install or change superuser password

Additional options for automated scripting

-n <password>

New password to be set

-o <password>

Password to be overwritten if one is already set
When used without option “-n” the password is
cleared

DESCRIPTION:

The kpassword command is used to determine the status of both
passwords (set or not set) and to set or clear the EFI shell and setup
passwords. Both user and superuser (Administrator) passwords can be
controlled with this command.
Call without options to get current password status
If a password has been previously entered, it must be re-entered to
validate the command (-o <old-password>).
Entering an empty password clears the password.

USAGE:

Set User password for EFI setup and shell

COMMAND / RESPONSE:

kpassword -u

No password is installed!

Enter new USER password

-->

Retype password

-->

Done.

Advertising