#1008705 useradd: update manpage to reflect how the UID is chosen for --system

Package:
passwd
Source:
shadow
Description:
change and administer password and group data
Submitter:
Stefanos
Date:
2022-03-30 21:18:04 UTC
Severity:
normal
#1008705#5
Date:
2022-03-30 21:14:16 UTC
From:
To:
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