McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)

20
Displaying user account information
You can display all user accounts defined on the switch (User Accounts command) or just those user
accounts that are logged on (User List or Show Users commands). Account information includes
account name, authority, and expiration date.
The following example displays all user accounts defined on the switch:
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)
The following example displays user accounts that are logged on to the switch:
McDATA4GbSAN (admin) #> user list
User Ethernet Addr-Port Logged in Since
---- ------------------ ---------------
admin@OB-session1 10.20.68.108-1031 day month date time year
admin@OB-session2 10.20.68.108-1034 day month date time year
snmp@OB-session3 Unknown day month date time year
snmp@IB-session4 Unknown day month date time year
admin@OB-session5 Unknown day month date time year
See the ”User command” on page 220.
Creating user accounts
A user account consists of an account name, an authority level, and an expiration date. The account name
can be up to 15 characters and must begin with an alphanumeric character. The authority level grants
admin authority (true) or denies it (false). The expiration date sets the date when the user account expires.
Only the Admin user account can create user accounts.
The following example creates a new user account named user1 with admin authority that expires in 100
days:
McDATA4GbSAN (admin) #> user add
Press 'q' and the ENTER key to abort this command.
account name (1-15 chars) : user1
account password (8-20 chars) : *******
please confirm account password: *******
set account expiration in days (0-2000, 0=never): [0] 100
should this account have admin authority? (y/n): [n] y
OK to add user account 'user1' with admin authority
and to expire in 100 days?
Please confirm (y/n): [n] y
See the ”User command” on page 220.