On 11/27/2016 12:27 PM, Hauke Fath wrote:
And, just to mention it for completness, there is /etc/login.defs where you can theoretically adjust those numbers.
This
<snip> # Min/max values for automatic uid selection in useradd # UID_MIN 1000 UID_MAX 60000 # System accounts SYS_UID_MIN 500 SYS_UID_MAX 999 </snip>
might actually help, depending on how well it is enforced. Thanks!
"enforced"? It is the configuration file for useradd. Anything not explicitly hardcoded in the UID/GID database (or hardcoded but not in the database) will respect the useradd configuration (when you reinstall Arch and all those users are created from scratch again). Although really, whatever distribution was running on your NFS server shouldn't be configuring for users with UIDs below 1000 -- a network is exactly the wrong place to be allowing UIDs that can clash with other distros' UID reservations. It might not be a bad idea to report that as a bug. -- Eli Schwartz