super password

Use super password to set a password for a user role.

Use undo super password to restore the default.

Syntax

In non-FIPS mode:

super password [ role rolename ] [ { hash | simple } password ]

undo super password [ role rolename ]

In FIPS mode:

super password [ role rolename ]

undo super password [ role rolename ]

Default

No password is set for a user role.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

role rolename: Specifies a user role, a case-sensitive string of 1 to 63 characters. The user role must exist in the system. If you do not specify a user role, the command sets a password for the default target user role.

hash: Sets a hashed password.

simple: Sets a plaintext password. This password will be saved in hashed text for security purpose.

password: Specifies the password string. This argument is case sensitive.

Usage guidelines

If you do not specify any parameters, you specify a plaintext password in the interactive mode.

The FIPS mode supports only the interactive mode for setting a password.

Set a password if you configure local password authentication for temporary user role authorization.

It is a good practice to specify different passwords for different user roles.

Examples

# Set the password to 123456TESTplat&! for the network-operator user role.

<Sysname> system-view
[Sysname] super password role network-operator simple 123456TESTplat&!

# Set the password to 123456TESTplat&! in interactive mode for the network-operator user role.

<Sysname> system-view
[Sysname] super password role network-operator
Password:
Confirm :

Related commands

super authentication-mode

super default role