User command

Description Administers and displays user accounts.

Authority Admin account name and an Admin session. The Accounts and List operands are available to all account names without an Admin session.

Syntax

Operands

user

accounts

add

delete [account_name] edit

list

accounts

Displays all user accounts that exist on the switch. This operand is available to all account names without an Admin session.

add

Add a user account to the switch. You will be prompted for an account name, a password, authority, and an expiration date.

A switch can have a maximum of 15 user accounts.

Account names are limited to 15 characters; passwords must be 8–20 characters.

Admin authority grants permission to use the Admin command to open an Admin session, from which all commands can be entered. Without Admin authority, you are limited to view-only commands.

The expiration date is expressed in the number of days until the account expires (2000 maximum). The switch will issue an expiration alarm every day for seven days prior to expiration. 0 (zero) specifies that the account has no expiration date.

delete [account_name]

Deletes the account name given by [account_name] from the switch.

edit

Initiates an edit session that prompts you for the account name for which to change the expiration date and authority.

list

Displays the list of users currently logged in and their session numbers. Provides the same function as the Show Users command. This operand is available to all account names without an Admin session.

Notes Authority level or password changes that you make to an account that is currently logged in do not take effect until that account logs in again.

Examples The following is an example of the User Accounts command:

McDATA4GbSAN (admin) #> user accounts

Current list of user accounts

 

-----------------------------

 

images

(admin authority =

False, never expires)

admin

(admin authority =

True , never expires)

chuckca

(admin authority =

False, expires in < 50 days)

gregj

(admin authority =

True , expires in < 100 days)

fred

(admin authority =

True , never expires)