enable (GRUB)

Enables securing the GRUB bootloader with a password on the SLX device.

Syntax

enable
no enable

Command Default

By default, GRUB is not secured with a password. This command is used to explicitly enable this feature. Once enabled, the username command becomes available for configuring the username and password to secure GRUB.
Note

Note

Reboot is required for this feature to take effect.

Modes

GRUB mode

Usage Guidelines

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.

Examples

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)#