Package: adduser
Version: 3.144
Severity: important

Hi,

this is a discussion with Vincent Lefevre on #1099470:
>1. For a system account, there would still be an issue if the account↲
>has a password (if possible). If EXISTING_ID_MISMATCH is set, this↲
>would also yield an issue; I think that this is possible if the --uid↲
>adduser option is used, with an id different from the current one for↲
>this account. You should add a test for this case.↲
>↲
>2. For a non-system account, the problematic test would always be↲
>false, while it is actually meant to be true (the error message↲
>contains "but is not a system user"). So you should add a test↲
>↲
>  adduser --system username↲
>↲
>where the username account already exists and is not a system account↲
>(not sure whether other options, such as --disabled-password, may be↲
>needed). One would expect a non-zero exit status because --system is↲
>used while username exists and is not a system account.↲
↲

Reply via email to