HP 449298-001 Remove user steve, Set user username one or more user properties, Show user

Page 33

Item

Description

 

 

 

->remove user steve

 

Removes a specific user by name

 

 

 

->remove user *

 

Removes all users

 

 

Item

Description

 

 

set user

Modify attributes of an existing user

 

 

Syntax

set user <username> [<one or more user properties>]

 

 

Properties:

 

 

 

UserName

The new name of the user

 

 

Password

The new password of the user can be entered as clear text in the command or as

 

a masked string at the prompt. If the Password value is blank, the user is

 

prompted to enter the password at the prompt.

 

 

FullName

The full name of the user

 

 

ContactInfo

Contact information for the user

 

 

Enabled

Enables or disables the user [true false]

 

 

Privileges

The allowed privileges for the user (optional). Privileges can be any combination

 

of "domain", "server", "network", "storage" separated by commas.

 

 

Examples:

 

 

 

 

->set user steve Password=fgY87hHl

 

Modifies an existing user's password

 

 

 

->set user steve Password

 

Modifies an existing user's password, masked, at the prompt

 

 

 

->set user bill Password=HGtwf7272562

 

Privileges="domain,network" FullName="Bill Johnson"

 

ContactInfo=billj@company.com Enabled=true

 

Modifies several properties of an existing user

 

 

 

->set user tom privileges=*

 

Gives a user all privileges

 

 

Item

Description

 

 

show user

Display user summary or user details

 

 

Syntax

show user [<username>]

 

 

Properties:

 

 

 

Privileges

The allowed privileges for the user, which can be any combination of "domain",

 

"server", "network", or "storage" separated by commas

 

 

FullName

The full name of the user

 

 

ContactInfo

Contact information for the user

 

 

Enabled

Specifies if the user is enabled or disabled

 

 

Examples:

 

 

 

 

->show user

 

Displays a listing of all existing users

 

 

Command line 33

Image 33
Contents HP Virtual Connect Manager Command Line Interface User Guide Audience assumptions Contents Technical support Command line overview IntroductionVirtual Connect overview Subcommand managed element parameters options properties Command line syntaxParameters OptionsProperties CLI command execution modesRemote access to the Virtual Connect Manager Command line SubcommandsManaged elements Domain DevicebaySupported actions delete, help, set, show Enclosure Supported actions add, help, remove, set Enet-connectionAddressType=Factory-Default Network=SomeNetwork2 PXE=enabledAddressType EthernetMACExternal-manager Fabric Fc-connection Firmware Support actions help, show, updateInterconnect IgmpLdap Supported actions add, help, remove, set, show Ldap-groupMac-cache Network Profile Add profile MyNewProfile2 -NoDefaultFcConn Add profile MyNewProfile2 -NoDefaultEnetConnAdd profile MyNewProfile Assign profileServer Supported actions help, poweroff, poweron, reboot, showPoweroff server enc02 -Force Poweroff server enc02Poweroff server enc0 Poweroff server enc02 -ForceOnTimeoutStackinglink Status SystemlogUplinkport Set uplinkport PortID Network=NetworkName Set uplinkportSpeed=Auto10Mb100Mb1GbDisabled Set uplinkport enc012 Network=MyNetwork Speed=1GbUplinkset User Set user steve Password Set user steve Password=fgY87hHlSet user bill Password=HGtwf7272562 Remove user steveHelp subsystem VcmVersion Command line Interactive user output format Output formatBrad Domain Brad Mills Brad.mills@hp.com True Server Scriptable output format Command line Basic configuration Configuring the Virtual Connect domain using the CLISsh 192.168.0.120 login as Administrator password Ssh 192.168.0.120 login as AdministratorSetting the domain name Domain setupConfiguring local users Importing an enclosureSet user bob fullname=Bob J Smith enabled=false Add user bob password=fhkjdhfk privileges=domain,networkRemove user bob Remove userNetwork setup Configuring Ldap authentication support for usersConfiguring MAC Address ranges Assigned MAC addresses Creating an enet-network Adding uplink ports to an enet-networkCreating a shared uplink port set Configuring WWN address ranges Fibre Channel setupAdding uplink ports to a shared uplink port set Creating a network that uses a shared uplink port setModifying FC fabric properties Server Profile setupDisplaying FC fabrics Set fabric name=MyNewName portspeed=4GbConfiguring the Virtual Connect domain using the CLI Creating server profiles Configuring Igmp settingsAdding enet-network connections to a profile Adding FC fabric connections to a server profileSet mac-cache enabled=true refresh=10 Configuring MAC cache failover settingsCommon management operations Logging out of the CLIReset vcm Reset vcm -failover Resetting the Virtual Connect ManagerVirtual Connect Manager not found at this IP address Technical support Before you contact HPHP contact information Igmp Acronyms and abbreviationsPXE Index Index