Skip to content

hubcli user setpassword

Sets the password for a specified user. This cannot be a user imported from LDAP.

The command has the following format:

hubcli user setpassword [flags] username

where:

flags
One or more optional flags that provide additional control over execution of the command.
username
The user name for which the password is set.

The following flags are available:

-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
--password pwd
Specifies a password for the user. If you do not specify a password, you will prompted to provide one.
--temporary
Specifies that the password created is temporary, and the user will need to change it at first login.