make min/maxuid detection more portable
Summary: the pervious tech had shoddy coverage and was bound to eventually break because of the rise of /etc/os-release to rule all the proprietary release files that preceded it. instead we now set sane default assumptions and attempt to load the actual default for the specific system from /etc/login.defs (part of shadow source and should be available on more or less all modern linux systems https://github.com/shadow-maint/shadow). Test Plan: max/min detection still works Reviewers: ngraham Reviewed By: ngraham Differential Revision: https://phabricator.kde.org/D26963
parent
ff9e72d0
Please register or sign in to comment