Skip to main content

bmcpassword command

Use the bmcpassword command to remotely change the password of BMC accounts when users log in to BMC for the first time or the password is expired on the XCC-based servers.

bmcpassword command syntax

OneCli.exe misc bmcpassword < --bmc <arg>>
Table 1. bmcpassword command specific parameters
ParameterRequired/OptionalNotes
--newpwdOptional

Specify the new password of BMC accounts.

If this parameter is not specified, OneCLI will change the password of BMC accounts in the security mode. For more information, refer to Changing password of BMC account in security mode.

--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --bmc, -b

  • --bmc-cim-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --help,-h

  • --never-check-trust, -N

  • --node, -n

  • --nolog, -n

  • --output, -o

Optional

Refer to Table 2.

Example of the bmcpassword command

OneCli.exe misc bmcpassword --bmc USERID:PASSWORD@host --newpwd xxxxxx