bmcuser command
Use the bmcuser command to manage all BMC user accounts.
bmcuser command syntax
OneCli.exe misc bmcuser <command>[options...]
| Command | Syntax example | Description |
|---|---|---|
| create | | Create a new user. |
| delete | | Delete the specified user. |
| deletesshkey | | Delete the specified SSH key. |
| importsshkey | | Add a SSH key. |
| info | | Display the specified user information. |
| list | | List all user information. |
| set | | Modify the specified user information. |
| showsshkey | | Display the SSH key of the specified user. |
| Parameter | Required/Optional | Notes |
|---|---|---|
| --description | Optional | Specify the descripton of SSH key description. |
| --file | Required | Specify the SSH key file. |
| --id -i | Required | Specify user ID. |
| --keyid | Required | Specify the ID of the SSH key. |
| --newpwd | Optional | Specify the new password of BMC default account. |
| --password | Required | Specify the newly created user password. |
| --role , -r | Required | Specify the newly created user role. The valid choices include: admin, operator, and user. |
| --username, -u | Required | Specify the newly created user name. |
| Optional | Refer to Table 2. |
Example of the bmcuser command
OneCli.exe misc bmcuser set --id admin --password test001 --bmc USERID:PASSWORD@xx.xx.xx.xx
Give documentation feedback