mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
39 lines
716 B
Plaintext
39 lines
716 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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-state`
|
|
|
|
- Enable Secure Boot:
|
|
|
|
`mokutil --enable-validation`
|
|
|
|
- Disable Secure Boot:
|
|
|
|
`mokutil --disable-validation`
|
|
|
|
- List 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 true`
|