Enables securing the GRUB bootloader with a password on the SLX device.
Note
Reboot is required for this feature to take effect.GRUB mode
The enable
command
is executed to enable securing the GRUB with a username and password combination.
When enabled, this username and password combination is applicable to the
ONIE and Offline Diagnostics options of the GRUB menu
and and GRUB environment “e” - edit the commands before booting and “c” -
command-line. It is not applicable to the SLX-OS option of the GRUB
menu. You can launch the SLX-OS without providing credentials.
When enabled, the password protection feature get enabled from the next reboot of the SLX device.
The no form of the command disables GRUB Password Protection. This is also applicable from the next reboot of the SLX device.
The following example enables the GRUB Password Protection.
SLX (config-grub)# enable SLX (config-grub)#
GRUB Password Protection is enabled from the next reboot of the SLX device.
The following example disables GRUB Password Protection.
SLX (config-grub)# no enable SLX (config-grub)#