snippetbashTip
mokutil — Configure Secure Boot Machine Owner Keys (MOK). Some operations, such as enabling and disabling Secu
Viewed 0 times
commandmokutilsecureconfigureownerbootclimachine
linux
Problem
How to use the
mokutil command: Configure Secure Boot Machine Owner Keys (MOK). Some operations, such as enabling and disabling Secure Boot or enrolling keys require a reboot. More information: <https://manned.org/mokutil>.Solution
mokutil — Configure Secure Boot Machine Owner Keys (MOK). Some operations, such as enabling and disabling Secure Boot or enrolling keys require a reboot. More information: <https://manned.org/mokutil>.Show if Secure Boot is enabled:
mokutil --sb-stateEnable Secure Boot:
mokutil --enable-validationDisable Secure Boot:
mokutil --disable-validationList enrolled keys:
mokutil {{[-l|--list-enrolled]}}Enroll a new key:
mokutil {{[-i|--import]}} {{path/to/key.der}}List the keys to be enrolled:
mokutil {{[-N|--list-new]}}Set shim verbosity:
mokutil --set-verbosity trueCode Snippets
Show if Secure Boot is enabled
mokutil --sb-stateEnable Secure Boot
mokutil --enable-validationDisable Secure Boot
mokutil --disable-validationList enrolled keys
mokutil {{[-l|--list-enrolled]}}Enroll a new key
mokutil {{[-i|--import]}} {{path/to/key.der}}Context
tldr-pages: linux/mokutil
Revisions (0)
No revisions yet.