Initial admin cannot log out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When a controller is created (`juju bootstrap`) the system user gains and logs in as the initial Juju user administrator of that controller. This user is provided an internal password only (~/.local/
[1]:
--------- >8 ---------
ERROR preventing account loss
It appears that you have not changed the password for
your account. If this is the case, change the password
first before logging out, so that you can log in again
afterwards. To change your password, run the command
"juju change-
If you are sure you want to log out, and it is safe to
clear the credentials from the client, then you can run
this command again with the "--force" flag.
--------- 8< ---------
tags: |
added: docteam juju-release-support usability removed: doctem |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-core: | |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
I am not convinced that this is necessary. We are now using macaroons and, in any case, letting admin users know that they need to have a password when logging out is cleaner than creating admin users with passwords. There are plenty situations were it is not needed.
In scenarios where it is needed, admin users create passwords anyway as part of the normal workflow, so are not confronted with the message.