nv show system aaa role
|
|
nv show system aaa role Displays list of roles (user capabilities) and their groups. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.2002 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/role |
|
Related commands |
nv show system aaa role monitor |
|
Notes |
|
nv show system aaa role id
|
|
nv show system aaa role <id> Displays configuration of a role. |
|
|
Syntax Description |
id |
Role ID (i.e., admin, monitor) |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/role/{id} |
|
|
Related commands |
nv show system aaa role |
|
|
Notes |
admin—full administrative capabilities
|
|
nv show system aaa user
|
|
nv show system aaa user Displays list of users, their role and status. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.2002 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user |
|
Related commands |
nv set system aaa user |
|
Notes |
|
nv show system aaa user id
|
|
nv show system aaa user <user-id> Displays configuration of a user. |
|
|
Syntax Description |
user-id |
The user (e.g., monitor, test) |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv show system aaa user ssh authorized-key
|
|
nv show system aaa user <user-id> ssh authorized-key Lists all SSH keys associated with the specified user. |
|
|
Syntax Description
|
user-id |
The user (e.g., monitor, test) |
|
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user>/ssh/authorized-key |
|
|
Related ommands |
|
|
|
Notes |
The key string is obfuscated yet not regarded as a secret within NVOS. |
|
nv show system aaa user ssh authorized-key id
|
|
nv show system aaa user <user-id> ssh authorized-key <ssh-authorized-key-id> Displays details for a specific SSH key. |
|
|
Syntax Description
|
user-id |
The user (e.g., monitor, test) |
|
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/authorized-key/<ssh-authorized-key-id> |
|
|
Related Commands |
|
|
|
Notes |
The key string is obfuscated yet not regarded as a secret within NVOS. |
|
nv show system aaa allow-reset-local-passwords
|
|
nv show system aaa allow-reset-local-passwords Displays state of resetting the local users passwords upon long reboot press |
|
|
Default |
enabled |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/allow-reset-local-passwords |
|
|
Related Commands |
nv set system allow-reset-local-passwords state <enabled|disabled> |
|
|
Notes |
|
|
nv show system aaa user ssh
|
|
nv show system aaa user <user-id> ssh Display user SSH configuration. |
|
|
Syntax Description
|
user-id |
The user (e.g., monitor, test) |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh |
|
|
Related Commands |
|
|
|
Notes |
Key string in obfuscated but is not considered a secret in nvos. |
|
nv set system aaa user ssh authorized-key
|
|
nv set system aaa user <user> ssh authorized-key <ssh-authorized-key-id> Authorized SSH key configuration. |
|
|
Syntax Description |
authorized-key-id |
Name of the SSH key (item-name) (enum: saved keys of user) |
|
Key |
The base64 contents of the key (key-string) |
|
|
type |
The type of encoded key (string | enum:ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519, ssh-rsa | default:ssh-rsa) |
|
|
Default |
Key=N/A, Type=ssh-rsa |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/<user-id>/ssh/authorized-key/<ssh-authorized-key-id> |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system aaa user
|
|
nv set system aaa user <user-id>
Specifies a username and creates a user account. New users are created initially with admin privileges.
|
|
|
Syntax Description |
user-id |
The user.
|
|
Default |
The following usernames are available by default:
|
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user full-name
|
|
nv set system aaa user <user-id> full-name <full-name>
Configures user's full-name (Gecos Field).
|
|
|
Syntax Description |
user-id |
The user |
|
full-name |
The full name of the user |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user state
|
|
nv set system aaa user <user-id> state <enable | disable>
Enables/disables the user account.
|
|
|
Syntax Description |
user-id |
The user |
|
Default |
Enabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
Disabling a user account will terminate all user bash terminals. |
|
nv set/unset system aaa user role
|
|
nv set system aaa user <user-id> role <role-id>
Configures user role (capabilities).
|
|
|
Syntax Description |
user-id |
The user |
|
role-id |
The name of the role |
|
|
Default |
admin |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user password
|
|
nv set system aaa user <user_id> password
Configures a login password in cleartext.
|
|
|
Syntax Description |
user-id |
The user |
|
password |
A password for the user in string form. A string containing special Linux characters must be quoted or have the special characters escaped (i.e., add "\" before each special character).
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa user hashed-password
|
|
nv set system aaa user <user-id> hashed-password
Configures a login password in encrypted format.
|
|
|
Syntax Description |
user-id |
The user |
|
hashed-password |
A password for the user in encrypted text.
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/user/{user-id} |
|
|
Related commands |
nv show system aaa user
|
|
|
Notes |
|
|
nv set/unset system aaa allow-reset-local-passwords state
|
|
nv set system aaa allow-reset-local-passwords state <enabled | disabled>
Enables/disables the ability to reset local users' passwords upon long reboot press.
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/allow-reset-local-passwords |
|
|
Related commands |
nv show system aaa allow-reset-local-passwords |
|
|
Notes |
|
|
Last updated: