GRUB-SETPASSWORD(3) - phpMan

grub2-setpassword (8) - Generate the user.cfg file containing the hashed grub...