Forrest logo
back to the mokutil tool

mokutil:tldr:bddc8

mokutil: Show if Secure Boot is enabled.
$ mokutil --sb-state
try on your machine

The command "mokutil --sb-state" is used to check the Secure Boot state of a system.

Secure Boot is a feature in modern computer systems that ensures only authorized and digitally signed software is allowed to run during the boot process. This helps prevent the execution of malicious software or unauthorized operating systems.

The "mokutil" is a command-line utility commonly found in Linux distributions. It is used to manage Machine Owner Keys (MOK), which are keys used to sign and authenticate third-party kernel modules or bootloader code.

The "--sb-state" option of the "mokutil" command is used to display the current Secure Boot state of the system. When this command is executed, it will output one of the following states:

  1. "SecureBoot enabled": This means that Secure Boot is currently enabled on the system, and only signed software will be allowed to run during the boot process.

  2. "SecureBoot disabled": This indicates that Secure Boot is currently disabled on the system, allowing any software to run during the boot process without signature verification.

  3. "SecureBoot not supported": This state suggests that the system does not support Secure Boot.

By using the "mokutil --sb-state" command, you can quickly determine the Secure Boot state of your system, which is helpful for troubleshooting or verifying the secure boot configuration.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mokutil tool