Description of problem: authinfo.py (and authconfig.8) categorize UIDs as system/user using a hard-coded value 500. Please use UID_MIN from /etc/login.defs for this; we plan to change the boundary. See attachment 510191 [details] for the proper way to parse /etc/login.defs. Please let me know if you want me to prepare a complete patch. Version-Release number of selected component (if applicable): authconfig-6.1.14-2.fc16
No need to prepare a complete patch.
Shouldn't authconfig use SYS_UID_{MIN,MAX} instead of UID_MIN? Values below UID_MIN can still be user accounts...
(In reply to comment #2) > Shouldn't authconfig use SYS_UID_{MIN,MAX} instead of UID_MIN? > Values below UID_MIN can still be user accounts... Similarly, values outside of SYS_* can be system accounts. In practice, SYS_UID_MAX defaults to (UID_MIN-1), so UID_MIN is the variable more likely to be present in login.defs - and checking UID_MIN is already a de facto standard.