Go to the first, previous, next, last section, table of contents.


password

Command: password [@option{--md5}] passwd [new-config-file]
If used in the first section of a menu file, disable all interactive editing control (menu entry editor and command-line) and entries protected by the command @command{lock}. If the password passwd is entered, it loads the new-config-file as a new config file and restarts the GRUB Stage 2, if new-config-file is specified. Otherwise, GRUB will just unlock the privileged instructions. You can also use this command in the script section, in which case it will ask for the password, before continueing. The option @option{--md5} tells GRUB that passwd is encrypted with @command{md5crypt} (see section md5crypt).


Go to the first, previous, next, last section, table of contents.