Pre-encrypted passwords – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 52
Getting Started
Software Reference for x310 Series Switches
1.28
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
If there is a user account on the device with a lower privilege level and a password has
already been set with the
enable password command on page 5.3
, you can login and still
enter privileged mode. When executing the enable command, enter the password
created with the enable password command. For example, if the password is
mypassword:
Displaying users
To list the currently logged-in users, enter User Exec or Privileged Exec mode and enter the
command:
The output looks like this:
To list all configured users, enter User Exec or Privileged Exec mode and enter the
command:
The output looks like this:
Pre-encrypted Passwords
The running-config output above includes the number 8 after the password parameter.
This indicates that the password is displayed in its encrypted form.
You can enter the number 8 and a pre-encrypted password on the command line. You
may want to pre-encrypt passwords if you need to load them onto switches via an
insecure method (such as HTTP, or by emailing them to remote users).
Testing this
feature
If you want to test the effect of this, create a new user for the test instead of using the
manager user. The test stops you from logging in as the test user, so you need to have the
manager user available to log in as.
awplus>
enable mypassword
awplus#
awplus#
show users
Line User Host(s) Idle Location Priv Idletime Timeout
con 0 manager idle 00:00:00 ttyS0 15 10 N/A
vty 0 bob idle 00:00:03 172.16.11.3 1 0 5
awplus#
show running-config |include username
username manager privilege 15 password 8 $1$bJoVec4D$JwOJGPr7YqoExA0GVasdE0
username Bob privilege 15 password 8 $1$gXJLY8dw$iqkMXLgQxbzSOutNUa5E2.
Caution
Only enter the number 8 if you are entering a pre-encrypted password—
otherwise, you will be unable to log in using the password and will be unable
to access the switch through that username. The next section describes why.