User Account


nv show system aaa

Shows a list of the user accounts configured on the switch.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa
                        operational       applied
----------------------  ----------------  -------
[authentication-order]  1                        
[authentication-order]  2                        
[authentication-order]                    5      
[authentication-order]                    10     
tacacs                                           
  enable                on                on     
  timeout               5                 5      
  vrf                   mgmt              mgmt   
  accounting                                     
    enable              off               off    
  authentication                                 
    mode                pap               pap    
    per-user-homedir    off               off    
  [authorization]       0                 0      
  [server]              5                 5      
[user]                  _apt                     
[user]                  _lldpd                   
[user]                  backup                   
[user]                  bin                      
[user]                  cumulus                  
[user]                  daemon
...

nv show system aaa authentication-order

Shows the authentication order for the user accounts configured on the switch.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa authentication-order
Index  Method
-----  ------
1      tacacs
2      local

nv show system aaa authentication-order <priority-id>

Shows the authentication order so that TACACS+ authentication has priority over local (the lower number has priority).

Command Syntax

SyntaxDescription
<priority-id>The priority ID.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa authentication-order 5


nv show system aaa role

Shows the roles configured on the switch and the groups to which they belong.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa role
Role          groups      
------------  ------------
nvue-admin    nvapply     
nvue-monitor  nvshow      
system-admin  sudo,nvapply

nv show system aaa role <role-id>

Shows the permissions allowed for the specified role.

Command Syntax

SyntaxDescription
<role-id>The role ID.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa role nvue-monitor
        operational  applied
------  -----------  -------
groups  nvshow

nv show system aaa user

Shows the user accounts configured on the switch and their roles.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa user
Username          Full-name                                     Role     enable  Summary
----------------  --------------------------------------------  -------  ------  -------
_apt                                                            Unknown  system         
_lldpd                                                          Unknown  system         
backup            backup                                        Unknown  system         
bin               bin                                           Unknown  system         
cumulus           cumulus,,,                                    Unknown  on             
daemon            daemon                                        Unknown  system         
dnsmasq           dnsmasq,,,                                    Unknown  system         
frr               Frr routing suite,,,                          Unknown  system         
games             games                                         Unknown  system         
gnats             Gnats Bug-Reporting System (admin)            Unknown  system         
irc               ircd                                          Unknown  system
...

nv show system aaa user <user-id>

Shows information about a specific user account, such as the role and full name.

Command Syntax

SyntaxDescription
<user-id>The user account.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa user cumulus
                    operational  applied
------------------  -----------  -------
full-name           cumulus,,,          
hashed-password     *                   
role                Unknown             
ssh                                     
  [authorized-key]                      
enable              on

nv show system aaa user <user-id> ssh

Shows SSH information about the specified user account.

Command Syntax

SyntaxDescription
<user-id>The user account.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa user admin2 ssh

nv show system aaa user <user-id> ssh authorized-key

Shows the SSH authorized key for the specified user account.

Command Syntax

SyntaxDescription
<user-id>The user account.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa user admin2 ssh authorized-key

nv show system aaa user <user-id> ssh authorized-key <ssh-authorized-key-id>

Shows information about a specific SSH authorized key for the specified user account.

Command Syntax

SyntaxDescription
<user-id>The user account.
<ssh-authorized-key-id>The SSH authorized key ID.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show system aaa user admin2 ssh authorized-key prod_key key 1234