Bug#1099570: additional test cases needed

2025-03-07 Thread Marc Haber
On Wed, Mar 05, 2025 at 01:21:24PM +0100, Vincent Lefevre wrote: > adduser foo > adduser --system foo > > That would actually be case (2). This must fail. yes. We test that now. > (these are flags with power-of-two values, thus can be OR'ed) and > the buggy adduser 3.143 has > > if ($ret ==

Bug#1099570: additional test cases needed

2025-03-07 Thread Marc Haber
On Wed, Mar 05, 2025 at 12:04:04PM +0100, Marc Haber wrote: > (1) > adduser foo > adduser --system (must fail, 'already exists as a non-system user') That is the case, we check that. > (2) > adduser --uid 100 foo > adduser --uid 101 foo (must fail, 'cannot fulfill uid requirement, >

Bug#1099570: additional test cases needed

2025-03-07 Thread Marc Haber
On Wed, Mar 05, 2025 at 09:46:53AM +0100, Marc Haber wrote: > >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

Bug#1099570: additional test cases needed

2025-03-05 Thread Vincent Lefevre
On 2025-03-05 12:04:04 +0100, Marc Haber wrote: > On Wed, Mar 05, 2025 at 09:46:53AM +0100, Marc Haber wrote: > > 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_MISM

Bug#1099570: additional test cases needed

2025-03-05 Thread Marc Haber
On Wed, Mar 05, 2025 at 09:46:53AM +0100, Marc Haber wrote: > 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

Bug#1099570: additional test cases needed

2025-03-05 Thread Marc Haber
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