1GRUB-SETPASSWORD(3) Library Functions Manual GRUB-SETPASSWORD(3)
2
3
4
6 grub-setpassword — Generate the user.cfg file containing the hashed
7 grub bootloader password.
8
9
11 grub-setpassword [OPTION]
12
13
15 grub-setpassword outputs the user.cfg file which contains the hashed
16 GRUB bootloader password. This utility only supports configurations
17 where there is a single root user.
18
19 The file has the format: GRUB2_PASSWORD=<hashed password>.
20
21
23 -h, --help
24 Display program usage and exit.
25
26 -v, --version
27 Display the current version.
28
29 -o, --output=<DIRECTORY>
30 Choose the file path to which user.cfg will be written.
31
32
34 info grub
35
36 info grub2-mkpasswd-pbkdf2
37
38
39
40 Thu Jun 25 2015 GRUB-SETPASSWORD(3)