Bug#482069: adduser: If uid 999 exists, next system uid will be between 0-99

2008-05-21 Thread Durk Strooisma
if first_avail_uid returns -1 (which is indicating that in the range FIRST_SYS_UID and LAST_SYS_UID there was no free uid), adduser will stop. I don't see any overflow which causes adduser to start at uid 0 again. Please correct me if I'm wrong, but I don't get the problem. Hi, I didn't

Bug#482069: adduser: If uid 999 exists, next system uid will be between 0-99

2008-05-20 Thread Durk Strooisma
Package: adduser Version: 3.107 Severity: normal If, for whatever reason, there's a system user having uid 999, adduser will look for a uid starting from 0 when a new system user is created. In most cases it will find a free uid between 0-99, which is allocated by the Debian project and for

Bug#482069: adduser: If uid 999 exists, next system uid will be between 0-99

2008-05-20 Thread Joerg Hoh
On Tue, May 20, 2008 at 05:57:50PM +0200, Durk Strooisma wrote: If, for whatever reason, there's a system user having uid 999, adduser will look for a uid starting from 0 when a new system user is created. I guess the relevant part starts at line 387 off adduser elsif (!defined($new_uid)