If you wish to protect the *GRUB2* interactive edit mode with a password, but allow ordinary users to boot the computer, you have to create a definition file where you set up this functionality:
.Procedure
. Create the `/etc/grub.d/01_users` file and write the following lines into the file.
+
----
set superusers="root"
export superusers
password root <password>
----
. Regenerate the *GRUB2* configuration file and reinstall the bootloader into the MBR, as described in xref:adding-other-operating-systems-grub2[Adding other operating systems to the *GRUB2* menu].