I'm wishing to query the values SYS_UID_MIN,SYS_UID_MAX, SYS_GID_MIN, SYS_GID_MAX from a shell script.
These values appear commented out in /etc/login.defs . Hopefully this reflects the default values, but this is not certain.
Somehow the program useradd and groupadd can determine these values, so it must be possible. (I suppose one could look at their source! :) )