Comment 0 for bug 1558000

Revision history for this message
Thomas Reusch (reusch) wrote : Existing user "maas" is used/removed when installing/removing maas-common

When 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-0ubuntu1~trusty1 (from ppa:maas/stable)
- 1.7.6+bzr3376-0ubuntu2~14.04.1 (from standard ubuntu repo)

Ubuntu Version: Ubuntu 14.04.4 LTS

Many thanks,

Thomas