grub2-set-password - Man Page

Generate the user.cfg file containing the hashed grub bootloader password.


grub-set-password [OPTION]


grub-set-password outputs the user.cfg file which contains the hashed GRUB bootloader password. This utility only supports configurations where there is a single root user.

The file has the format: GRUB2_PASSWORD=<hashed password>.


-h,  --help

Display program usage and exit.

-v,  --version

Display the current version.

-o,  --output=<DIRECTORY>

Choose the file path to which user.cfg will be written.

See Also

info grub

info grub2-mkpasswd-pbkdf2

Referenced By

The man page grub2-setpassword(8) is an alias of grub2-set-password(8).

Thu Jun 25 2015