Command change-user-password

Usage: juju change-user-password [options] [username]


Changes the password for the current or specified Juju user.


-c, --controller (= "")

Controller to operate in

--reset (= false)

Reset user password


The user is, by default, the current user. The latter can be confirmed with the juju show-user command.

If no controller is specified, the current controller will be used.

A controller administrator can change the password for another user by providing desired username as an argument. A controller administrator can also reset the password with a --reset option. This will invalidate any passwords that were previously set and registration strings that were previously issued for a user.

This option will issue a new registration string to be used with juju register.


   juju change-user-password
    juju change-user-password bob
    juju change-user-password bob --reset
    juju change-user-password -c another-known-controller
    juju change-user-password bob --controller another-known-controller

See also:

add-user, register

Last updated 2 years ago.