]> granicus.if.org Git - shadow/commit
useradd: Read defaults after changing root directories
authorDavid Michael <david.michael@coreos.com>
Wed, 8 Feb 2017 23:48:36 +0000 (15:48 -0800)
committerSerge Hallyn <serge@hallyn.com>
Sat, 11 Feb 2017 14:59:49 +0000 (08:59 -0600)
commitc6b0664f529673e83c24243edd985803b9791631
treec020e5534a9ae8935161b4851206ce960b45821f
parente36c0a418a337a9461507c8f8fbda0e7a6066077
useradd: Read defaults after changing root directories

This reverts the behavior of "useradd --root" to using the settings
from login.defs in the target root directory, not the root of the
executed useradd command.
src/useradd.c