UNTITLED LOCAL UNTITLED

firmwarepasswdtool for setting and removing firmware passwords on a system

firmwarepasswd [-setpasswd] [-setmode mode [-allow-oroms]] [-mode] [-check] [-delete] [-verify] [-unlockseed] [-disable-reset-capability] [-enable-reset-capability] [-h]

The firmwarepasswd command is used to add or remove firmware passwords from a system as well as check status and other options. The firmwarepasswd command requires root privileges to run.

A list of flags and their descriptions:

Prompts to add a new firmware password or change and existing password if one exists.
mode [-allow-oroms]
Set the mode to "command" or "full". "Command" will prompt for the firmware password if the user attempts to boot from a different volume. "Full" will prompt on every startup (not recommended). Optional "allow-oroms" flag will permit option roms execution, that is denied by default once firmware password is set.
Displays the current mode if one is set.
Displays whether or not a firmware password is set.
Prompts for password and clears both password and the mode if correct.
Prompts for password and displays success if correct.
Generates a firmware password recovery key. Note: Machine must be stable for this command to generate a valid seed. No pending changes that need a restart. NOTE: Seed is only valid until the next time a firmware password command runs.
Disables firmware password reset using unlockseed.
Enables firmware password reset using unlockseed.
Displays a list of all the commands available in the firmwarepasswd tool, with explanatory information.

/usr/sbin/firmwarepasswd
 
April 19, 2019 OS X