Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

Fabric OS Command Reference 1049
53-1001764-01
userConfig
22
-l LF_ID_list
Specifies the logical fabric IDs to be added or deleted. Specify a range (1-5) or a
list of AD_IDs separated by comma (1,2,3), or a combination of both (1-5,7).
-r role
Specifies the role associated with the LFID list given in this command. This
operand is required when you specify an LF_ID_list.
-c [chassis_role]
Specifies the account's access permissions regarding chassis-level commands.
To remove an account's chassis permissions, specify -c only. To add chassis
permissions, specify a chassis role with the --c option.
--delete username
Deletes the specified account from the switch. This command prompts for
confirmation. Once an account is deleted, the CLI sessions associated with the
account are terminated.
The following restrictions apply when you delete an account:
You cannot delete a default account.
You cannot delete your own account.
AD_ID_list or LF_ID list and associated AD or LF permissions for username must
be a subset of the AD or LF permissions of the account that executes the
userConfig --delete command.
--help
Displays the command usage. In an LF-enabled environment, LF-specific options
are displayed. In an AD-enabled environment, AD-specific options are displayed.
EXAMPLES A. The following examples illustrate how to create and manage user accounts in an AD-enabled
environment.
To add a new account:
switch:admin> userconfig --add joe -r admin -d "Joe Smith"
Setting initial password for joe
Enter new password:
Re-type new password:
Account joe has been successfully added.
To add a new account noninteractively:
switch:admin> userconfig --add joe -r admin \
-d "Joe Smith" -p welCome2brcd
Account joe has been successfully added.
To display current account information:
switch:admin> userconfig --show joe
Account name: joe
Role: admin
Description: Joe Smith
Enabled: Yes
Password Last Change Date: Unknown
Password Expiration Date: Not Applicable
Locked: No
AD membership: 0
Home AD: 0