username

Creates and configures a user account.

Syntax

username username password password

Parameters

username
Specifies the account login name.
password password
Specifies the account password. To use the exclamation mark (!) character, either precede it with the escape character (\)—. secret\!password —or enclose the password within double quotes—"secret!password".

Modes

GRUB configuration mode

Usage Guidelines

The username must be of 1-40 characters. It must begin with a letter or underscore and contain only letters, numbers, underscore (_) and period(.) symbols. Username is case sensitive and cannot be the same as that of an existing role. When creating a username, you must specify a password.

Examples

The following example configures a user account for securing GRUB.

SLX # configure terminal 
SLX (config)# grub 
SLX (config-grub)# username testUser password ******** 
SLX (config-grub)#