System information
28
How to add and remove users
How to add and remove users
Adding users To add a new user with administrative rights, enter Global Configuration mode and enter the
command:
awplus(config)#username <name> privilege 15 password <password>
Both name and password can contain any printable character and are case sensitive.
The AlliedWare Plus OS gives you a choice of
1
or
1
5 for the privilege level. Level
1
users are
limited to User Exec mode so you need to set most users to level
1
5.
For example, to add user Bob with password
1
23$%^, enter the command:
awplus(config)#username Bob privilege 15 password 123$%^
Removing
users
To remove a user, enter Global Configuration mode and enter the command:
awplus(config)#no username <name>
For example, to remove user Bob, enter the command:
awplus(config)#no username Bob
You can delete any user except the user called “manager”, including the user you are currently
logged in as.
Displaying
users
To list the currently logged-in users, enter User Exec or Privileged Exec mode and enter the
command:
awplus#show users
The output looks like this:
To list all configured users, enter User Exec or Privileged Exec mode and enter the command:
awplus#show running-config |include username
The output looks like this:
Line User Host(s) Idle Location
130 vty 0 manager idle 01:36:37 10.33.27.11
131 vty 1 Bob idle 00:00:00 10.33.22.13
username manager privilege 15 password 8 $1$bJoVec4D$JwOJGPr7YqoExA0GVasdE0
username Bob privilege 15 password 8 $1$gXJLY8dw$iqkMXLgQxbzSOutNUa5E2.