HomePhorge

(PUP-2866) Read UID_MIN from login.defs instead of hardcoding value.
485c0bf2f641Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2866) Read UID_MIN from login.defs instead of hardcoding value.

This change reads UID_MIN from /etc/login.defs, if present, for the
minimum non-system user id instead of simply hardcoding a value. If the
file isn't present or UID_MIN isn't specified, we fall back to 1000 for
BSD family operating systems and 500 for all other operating systems.

Event Timeline

Peter Huene <peter.huene@puppetlabs.com> committed rPU485c0bf2f641: (PUP-2866) Read UID_MIN from login.defs instead of hardcoding value. (authored by Peter Huene <peter.huene@puppetlabs.com>).Jul 2 2014, 1:57 AM