HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

grub2-mkpasswd-pbkdf2 — Generate a hashed password for GRUB. More information: <https://manned.org/grub2-mkpasswd-pbkdf2>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandhashedpasswordcligrub2-mkpasswd-pbkdf2forgrubgenerate
linux

Problem

How to use the grub2-mkpasswd-pbkdf2 command: Generate a hashed password for GRUB. More information: <https://manned.org/grub2-mkpasswd-pbkdf2>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/grub2-mkpasswd-pbkdf2

Revisions (0)

No revisions yet.