[Pkg-shadow-devel] [PATCH 0/1] Make useradd work correctly with --root again

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Sep 11 15:18:27 UTC 2014


From: Peter Kjellerstedt <peter.kjellerstedt at axis.com>

A commit on the upstream branch to configure userns (03c52251) broke
useradd --root <root> whereby it would read login.defs before doing
the chroot() and thus use the one provided by the host rather than the
sysroot.

//Peter

Peter Kjellerstedt (1):
  Do not read login.defs before doing chroot()

 src/useradd.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
1.9.0




More information about the Pkg-shadow-devel mailing list