grub2-set-password - Man Page

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.

Referenced By

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

February 2024 The grub bootloader password may only be set by root. System Administration Utilities