setuserpath
static int setuserpath(login_cap_t *, const struct passwd *);
if (setuserpath(lc, pwd) == -1) {