![D-Link DGS-3700 Series Reference Manual Download Page 24](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575024.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 24
create account
Syntax
create account [admin | operator | user] <username 15>
Description
This command is used to create user accounts that consist of a username of 1 to 15
characters and a password of 0 to 15 characters. Up to 8 user accounts can be
created.
Parameters
[admin | operator | user] <username 15>
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 create an administrator-level user account with the username “dlink”.
DGS-3700-12:5#create account admin dlink
Command: create account admin dlink
Enter a case-sensitive new password:****
Enter the new password again for confirmation:****
Success.
DGS-3700-12:5#
NOTICE:
In case of lost passwords or password corruption, please refer to the “
Password
Recovery Command List
” section in this manual, and the “
Password Recovery Procedure
”
will guide you through the steps necessary to resolve this issue.
config account
Purpose
Used to change the password of user existing accounts.
Syntax
config account <username> {encrypt [plain_text| sha_1] <password>}
Description
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>
−
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 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 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: