| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH GRUB-SET-PASSWORD "8" "April 2026" "The grub bootloader password may only be set by root." "System Administration Utilities" |
| 3 |
.SH NAME |
| 4 |
grub-set-password \- generate the user.cfg file containing the hashed grub bootloader password |
| 5 |
.SH SYNOPSIS |
| 6 |
.B grub-set-password |
| 7 |
[\fI\,OPTION\/\fR] |
| 8 |
.SH DESCRIPTION |
| 9 |
The grub bootloader password may only be set by root. |
| 10 |
.PP |
| 11 |
\&./grub\-set\-password prompts the user to set a password on the grub bootloader. The password |
| 12 |
is written to a file named user.cfg which lives in the GRUB directory |
| 13 |
located by default at \fI\,/boot/grub2\/\fP. |
| 14 |
.TP |
| 15 |
\fB\-h\fR, \fB\-\-help\fR |
| 16 |
print this message and exit |
| 17 |
.TP |
| 18 |
\fB\-v\fR, \fB\-\-version\fR |
| 19 |
print the version information and exit |
| 20 |
.TP |
| 21 |
\fB\-o\fR, \fB\-\-output_path\fR <DIRECTORY> |
| 22 |
put user.cfg in a user\-selected directory |
| 23 |
.SH "REPORTING BUGS" |
| 24 |
Report bugs at https://bugzilla.redhat.com. |
| 25 |
.PP |
| 26 |
.br |
| 27 |
Usage: ./grub\-set\-password [OPTION] |
| 28 |
\&./grub\-set\-password prompts the user to set a password on the grub bootloader. The password |
| 29 |
is written to a file named user.cfg which lives in the GRUB directory |
| 30 |
located by default at \fI\,/boot/grub2\/\fP. |
| 31 |
.TP |
| 32 |
\fB\-h\fR, \fB\-\-help\fR |
| 33 |
print this message and exit |
| 34 |
.TP |
| 35 |
\fB\-v\fR, \fB\-\-version\fR |
| 36 |
print the version information and exit |
| 37 |
.TP |
| 38 |
\fB\-o\fR, \fB\-\-output_path\fR <DIRECTORY> |
| 39 |
put user.cfg in a user\-selected directory |
| 40 |
.PP |
| 41 |
.br |
| 42 |
Report bugs at https://bugzilla.redhat.com. |
| 43 |
.SH "SEE ALSO" |
| 44 |
The full documentation for |
| 45 |
.B grub-set-password |
| 46 |
is maintained as a Texinfo manual. If the |
| 47 |
.B info |
| 48 |
and |
| 49 |
.B grub-set-password |
| 50 |
programs are properly installed at your site, the command |
| 51 |
.IP |
| 52 |
.B info grub-set-password |
| 53 |
.PP |
| 54 |
should give you access to the complete manual. |