[patch] Existing user "maas" is used/removed when installing/removing maas-common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned | ||
1.9 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.0 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When the user "maas" exists as non-system user, it is used as the user for the MAAS software.
Expected behaviour when installing MAAS:
- At least a warning is shown, when user "maas" exists and is not a system user.
- Installation may break at this point, because this specific user would have too much rights in the MAAS software or the software could have too much rights when the user has extended rights.
Expected behaviour when removing MAAS:
- User may not be removed when not a system user to not break something. Warning should be shown.
Steps to reproduce:
# adduser maas # -> add non-system user "maas" with UID > 1000 on standard system
# apt-get install maas #-> warning: "adduser: The user `maas' already exists. Exiting."
# apt-get purge maas.* # -> message: "Removing user `maas' ..."
# id maas # -> id: maas: no such user
Tested with package versions (maas-common):
- 1.9.1+bzr4543-
- 1.7.6+bzr3376-
Ubuntu Version: Ubuntu 14.04.4 LTS
Many thanks,
Thomas
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.1.0 |
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
milestone: | 2.1.2 → 2.1.3 |
Changed in maas: | |
milestone: | 2.1.3 → 2.3.x |
Changed in maas: | |
milestone: | 2.3.x → none |
milestone: | none → 2.3.x |
This bug has not seen any activity in the last 6 months, so it is being automatically closed.
If you are still experiencing this issue, please feel free to re-open.
MAAS Team