[Pkg-shadow-devel] Bug#690963: Bug#690963: passwd: allocates UIDs for system users top-down, in conflict with adduser's bottom-up policy

Christian PERRIER bubulle at debian.org
Fri Oct 19 19:14:01 UTC 2012

Quoting Max Bowsher (_ at maxb.eu):
> Package: passwd
> Version: 1:
> Severity: normal
> The 'useradd -r' command (-r meaning 'system user') allocates UID values
> top-down within the range reserved in login.defs.  In contrast, adduser
> allocates UID values bottom-up.
> Whilst most user creation on a Debian system happens by way of adduser,
> tools which aim to have cross-distribution compatibility (e.g. Puppet)
> will use useradd. It would be useful if useradd would observe similar
> allocation policies to adduser, so that users do not end up placed at
> opposite ends of the allocated range depending on the method of
> creation.
> For that reason I would suggest that useradd should be patched to match
> the allocation policy of adduser in this respect.

I'm not sure this is a good idea to have sueradd in Debian deviate
from the behaviour it has in other distros that use shadow.

In short, any Debian-specific change should not be included in
Deibna's shadow package. This is indeed the raison d'être of

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20121019/d72cdba3/attachment.pgp>

More information about the Pkg-shadow-devel mailing list