Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 1221

Advertising
background image

Fabric OS Command Reference

1191

53-1003131-01

userConfig

2

-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 Admin Domain or Logical Fabric
permissions for username must be a subset of the Admin Domain or Logical
Fabric permissions of the account that executes the userConfig --delete
command.

--help

Displays the command usage. In a Logical Fabric-enabled environment, options
specific to Logical Fabrics are displayed. In an Admin Domain-enabled
environment, options specific to Admin Domains are displayed.

EXAMPLES

A. The following examples illustrate how to create and manage user accounts in an Admin
Domain-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

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.

Advertising