29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating a User<br />

Managing <strong>Switch</strong> User Accounts<br />

Note. Password settings configured through the user password-policy commands are not automatically<br />

saved to the switch configuration.<br />

Creating a User<br />

To create a new user, enter the user command with the desired username and password. Use the password<br />

keyword. For example:<br />

-> user thomas password techpubs<br />

In this example, a user account with a user name of thomas and a password of techpubs is stored in the<br />

local user database.<br />

Note. The exclamation point (!) is not a valid password character. In addition, specifying an asterisk (*) as<br />

one or more characters in a password is allowed as long as every character is not an asterisk. For example,<br />

password **123456** is allowed; password ******** is not allowed.<br />

If privileges are not specified for the user, the user will inherit all of the privileges of the default user<br />

account. See “Default User Settings” on page 6-7.<br />

Note that the password will not display in clear text in an ASCII configuration file produced by the<br />

snapshot command. Instead, it will display in encrypted form.<br />

Removing a User<br />

To remove a user from the local database, use the no form of the command:<br />

-> no user thomas<br />

The user account for thomas is removed from the local user database.<br />

User-Configured Password<br />

Users may change their own passwords by using the password command. In this example, the current user<br />

wants to change the password to my_passwd. Follow these steps to change the password:<br />

1 Enter the password command. The system displays a prompt for the new password:<br />

-> password<br />

enter old password:<br />

2 Enter the old password. (The password is concealed with asterisks.) A prompt displays for the new<br />

password.<br />

-> password<br />

enter old password:********<br />

enter new password:<br />

page 6-8 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!