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 secureboot 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.