password

Set, change, or remove a password.

Syntax

[no] password admin|user [<password>]

Syntax Description

Keyword
Description

no

(Optional) Deletes an existing password.

admin

Sets or changes the administrator password.

user

Sets or changes the read-only user password.

password

(Optional) The password to be set.

Defaults

There is no password on the admin or user accounts by default.

Usage Guidelines

This command sets the password for the specified user for access to the CLI. Users without a password may not log in to the CLI via ssh.

If the new password is not specified on the command line, the system will prompt for it.

Examples

password admin
configure authorized-keys

Last updated