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

Durk Strooisma durk at kern.nl
Tue May 20 15:57:50 UTC 2008

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 that reason not desirable.

In stead of what seems to happen in reality, I would expect that adduser
would try to look for a free system uid starting from 100 in stead of 0.
It seems to ignore the value of FIRST_SYSTEM_UID in this process.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.5.21     Debian configuration management sy
ii  passwd                        1:4.1.1-1  change and administer password and
ii  perl-base                     5.10.0-10  The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information excluded

More information about the Adduser-devel mailing list