pwdcopy
struct passwd *pwdcopy(const struct passwd *pfrom);
p->pwd = pwdcopy(pw);
new->pwd = pwdcopy(pw);