DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
136
encrypt
- (Optional) Specifies that the password will be encrypted.
plain_text
- Select to Specifies the password in plain text form.
sha_1
- Select to Specifies the password in the SHA-1 encrypted 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 password is case-sensitive.
Restrictions
Only Administrators can issue this command.
Example
To configure the user password of “dlink” account:
DWS-3160-24PC: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.
DWS-3160-24PC:admin#
To configure the user password of “superuser” account using the SHA-1 encryption:
DWS-3160-24PC:admin#config account superuser encrypt sha_1
*@&jme7JrNY4u0g/lUu1vuDLzl6UH1zNMbt
Command: config account superuser encrypt sha_1
*@&jme7JrNY4u0g/lUu1vuDLzl6UH1zNMbt
Success.
DWS-3160-24PC:admin#
12-3
show account
Description
This command is used to display user accounts that have been created.
Format
show account
Parameters
None.