[Pkg-shadow-devel] Bug#1008705: useradd: update manpage to reflect how the UID is chosen for --system

Stefanos stefanos at karandreas.gr
Wed Mar 30 22:14:16 BST 2022


Package: passwd
Version: 1:4.8.1-1
Severity: normal
X-Debbugs-Cc: stefanos at karandreas.gr

Dear Maintainer,

the manpage for useradd states that for -r option, the numeric identifiers are chosen in the range of SYS_UID_MIN-SYS_UID_MAX instead of UID_MIN-UID_MAX.
In turn -u option specifies that the default is to use the smallest ID value greater than or equal to UID_MIN.
As I find out and verified in #690963 message 15, for --system the default is a top-down policy.
Could the entry for -r option get updated to more clearly specify that in contrast to -u, for -r the default is the largest ID value less than or equal to SYS_UID_MAX?

Stefanos


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-12-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages passwd depends on:
ii  libaudit1       1:3.0-2
ii  libc6           2.31-13+deb11u3
ii  libcrypt1       1:4.4.18-4
ii  libpam-modules  1.4.0-9+deb11u1
ii  libpam0g        1.4.0-9+deb11u1
ii  libselinux1     3.1-3
ii  libsemanage1    3.1-1+b2

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information



More information about the Pkg-shadow-devel mailing list