How can i test if secureboot is enabled?

Updated -
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

The mokutil command run as root will validate if secureboot is enabled or disabled with the command:

When secureboot is enabled:

mokutil --sb-state
SecureBoot enabled

When secure boot is disabled:

# mokutil --sb-state
Failed to read SecureBoot


Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In