Hello,
I've found sth weird what could be a bug or a bad ;-) feature
useradd.c is missing one line in
static void create_home (void)
chown (user_home, user_id, user_gid);
It creates a directory always owned by root. Is that what we want?
Debian unstable - source shadow-4.0.15
-- Dalibor Straka