xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
137 
 
Parameters 
<username> - Enter the user name of the account that has been defined. 
encrypt - (Optional) Specify that the password will be encrypted. 
plain_text - Select to specify the password in plain text form. 
sha_1 - Select to specify the password in the SHA-I enacrpted form. 
<password> - The password for the user account. The length for of password in plain-text 
form and in encrypted form are different. For the plain-text form, passwords must have a 
minimum of 0 character and can have a maximum of 15 characters.  For the encrypted 
form password, the length is fixed to 35 bytes long. The assword is case-sensitive. 
 
Restrictions 
Only Administrator-level users can issue this command. 
 
Example 
To configure the user password of “dlink” account: 
DGS-3120-24TC:admin# config account dlink 
Command: config account dlink 
 
Enter a old password:**** 
Enter a case-sensitive new password:**** 
Enter the new password again for confirmation:**** 
 
Success. 
 
 
To configure the user password of “administrator” account: 
DGS-3120-24TC:admin# config account administrator encrypt sha_1 
*@&cRDtpNCeBiq15KOQsKVyrA0sAiCIZQwq 
Command: config account administrator encrypt sha_1 
*@&cRDtpNCeBiq15KOQsKVyrA0sAiCIZQwq 
 
Success. 
 
 
12-3  show account 
Description 
This command is used to display user accounts that have been created. 
 
Format 
show account 
 
Parameters 
None.