D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 206
set user
Configures a user profile in the local database on the switch for a user with a password.
(To configure a user profile in RADIUS, see the documentation for your RADIUS server.)
Syntax: set user username password [encrypted] string
username Username of a user with a password.
encrypted Indicates that the password string you entered is already in its encrypted
form. If you use this option, MSS does not encrypt the displayed form of the
password string, and instead displays the string exactly as you entered it. If
you omit this option, MSS does encrypt the displayed form of the string.
password string Password of up to 32 alphanumeric characters, with no spaces.
Defaults: None.
Access: Enabled.
Usage: The show config command shows the encrypted option with this command, even when
you omit the option. The encrypted option appears in the configuration because MSS automatically
encrypts the password when you create the user (unless you use the encrypted option when you
enter the password).
Although MSS allows you to configure a user password for the special “last-resort” guest user,
the password has no effect. Last-resort users can never access a switch in administrative mode
and never require a password.
The only valid username of the form last-resort-* is last-resort-wired. The last-resort-wired user
allows last-resort access on a wired authentication port.
Examples: The following command creates a user profile for user Nin in the local database, and
assigns the password goody:
DWS-1008# set user Nin password goody
success: User Nin created
The following command assigns the password chey3nne to the admin user:
DWS-1008# set user admin password chey3nne
success: User admin created
The following command changes Nin’s password from goody to 29Jan04:
DWS-1008# set user Nin password 29Jan04
See Also:
• clear user
• show aaa