mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 20:50:02 +00:00
Update cheatsheets
This commit is contained in:
38
linux/mokutil
Normal file
38
linux/mokutil
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
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://github.com/lcp/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 --list-enrolled`
|
||||
|
||||
- Enroll a new key:
|
||||
|
||||
`mokutil --import {{path/to/key.der}}`
|
||||
|
||||
- List the keys to be enrolled:
|
||||
|
||||
`mokutil --list-new`
|
||||
|
||||
- Set shim verbosity:
|
||||
|
||||
`mokutil --set-verbosity true`
|
||||
Reference in New Issue
Block a user