Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

1058 Fabric OS Command Reference
53-1001764-01
userConfig
22
To disable the account "joe":
switch:admin> userconfig --change joe -e no
Broadcast message from root Sat Apr 2 03:03:32 2005...
Security Policy, Password or Account Attribute \
Change: joe will be logged out
Attribute for account joe has been successfully changed.
To add an account named bob with role ZoneAdmin and AD member list 1,4,10,11,12,13,14 and Home
AD 4:
switch:admin> userConfig --add bob -r ZoneAdmin \
-a 1,4,10-14 -h 4
To change account bob's AD member list to 128 and 129, Home AD to 128:
switch:admin> userConfig --change bob -a 128,129
To add AD 0 and 255 to bob's AD member list. Home AD is unchanged:
switch:admin> userConfig --addad bob -a 0,AD255
To delete AD 128 from bob's AD member list. New home AD is set to 0:
switch:admin> userConfig --deletead bob -a 128 -h 0
B. The following examples illustrate how to create and manage user accounts in an LF-enabled
environment.
To create a new account named "test" with admin role and admin chassis permissions in the LF member
list 1-10:
switch:admin> userconfig --add test -l 1-10 \
-r admin -c admin
Setting initial password for test
Enter new password:
Re-type new password:
Account test has been successfully added.
To display current account information:
switch:admin> userconfig --show test
Account name: test
Role: admin
Description:
Enabled: Yes
Password Last Change Date: Sat Jun 14 2008
Password Expiration Date: Not Applicable
Locked: No
RoleLFMaps: admin: 1-10 chassis
Chassis Role: admin
Home Context: 1
To grant user access permissions to the test account for the Virtual Fabrics 11-15:
switch:admin> userconfig --addlf test -r user -l 11-15
New LFs/Chassis role for account test has been \
successfully added.