Files
cheatsheet-tldr/tldr/linux/grub2-mkpasswd-pbkdf2
2024-12-17 00:18:55 +00:00

14 lines
413 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# grub2-mkpasswd-pbkdf2
> Generate a hashed password for GRUB.
> More information: <https://manned.org/grub2-mkpasswd-pbkdf2>.
- Create a password hash for GRUB 2 using PBKDF2 and print it to `stdout`:
`sudo grub2-mkpasswd-pbkdf2 {{-c|--iteration-count}} {{number_of_pbkdf2_iterations}} {{-s|--salt}} {{salt_length}}`