Page 48
6.1.24 User Configuration (USER)
The
user
command provides the ability to modify a user account.
To modify the user account, use the
user
command from the CLI prompt. A list of options is displayed
when the
user -h
command is entered.
> user -h
Description:
user - user configuration
Syntax:
user [-h]
user -s
user -m [-name uName] [-nname uName] [-pw uPw]
[-sto timeout]
Switches:
-h display help information
-m modify user
-name user name, [uName]: 1-32 ASCII characters
-nname new user name, [uName]: 1-32 ASCII
-pw user password, [uPw]: 1-32 ASCII characters
-s show current configuration
-sto session timeout value in sec, [timeout]: {0..3600}, dflt 300
>
The options available using the
user
command are shown below.
The
-h
switch displays the help screen presented above. It is static and provides help information for the
specific command.
The
-m
switch allows the user account to be modified.
The
-name
switch is the name of the current user account to be modified.
The
-nname
switch is the new user name.
The
-pw
switch allows the password for the user’s account to be modified.
The
-s
switch displays the user configuration.
The
-sto
switch configures the timeout value for the session.
To display the user configuration, use the
user -s
command.
>user -s
User 1 name admin
User 1 type admin
User 1 password *****
User 1 session timeout 300s
User 1 status serial console port active for 6s
>
To change the login name, use the
user -m
command.
> user -m -n admin -nname Mike