table of contents
GRUB-SET-PASSWORD(8) | System Administration Utilities | GRUB-SET-PASSWORD(8) |
NAME¶
grub-set-password - generate the user.cfg file containing the hashed grub bootloader password
SYNOPSIS¶
grub-set-password [OPTION]
DESCRIPTION¶
The grub bootloader password may only be set by root.
./grub-set-password prompts the user to set a password on the grub bootloader. The password is written to a file named user.cfg which lives in the GRUB directory located by default at /boot/grub2.
- -h, --help
- print this message and exit
- -v, --version
- print the version information and exit
- -o, --output_path <DIRECTORY>
- put user.cfg in a user-selected directory
REPORTING BUGS¶
Report bugs at https://bugzilla.redhat.com.
Usage: ./grub-set-password [OPTION] ./grub-set-password prompts the user to set a password on the grub bootloader. The password is written to a file named user.cfg which lives in the GRUB directory located by default at /boot/grub2.
- -h, --help
- print this message and exit
- -v, --version
- print the version information and exit
- -o, --output_path <DIRECTORY>
- put user.cfg in a user-selected directory
Report bugs at https://bugzilla.redhat.com.
SEE ALSO¶
The full documentation for grub-set-password is maintained as a Texinfo manual. If the info and grub-set-password programs are properly installed at your site, the command
- info grub-set-password
should give you access to the complete manual.
May 2024 | The grub bootloader password may only be set by root. |