D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
13
config account
Purpose
Used to configure user accounts.
Syntax
config account <username> {encrypt [plain_text|sha_1] <password>}
Description
This command is used to configure a user account that has been created using the
create account command. When the password information is not specified in the
command, the system will prompt the user to input the password interactively. For
this case, the user can only input the plain text password.
If the password is present in the command, the user can select to input the
password in the plain text form or in the encrypted form. The encryption algorithm is
based on SHA-1.
Parameters
<username> – The name of the account. The account must already be defined.
plain_text – Select to specify the password in plain text form.
sha_1 – Select to specify the password in the SHA-1 encrypted form.
password – The password for the usefr account. The length of the 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 Administrator-level users can issue this command.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Example usage:
To configure the user password of “dlink” account:
DES-3200-28:4#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.
DES-3200-28:4#