Searched refs:pwp (Results 1 – 2 of 2) sorted by relevance
16 struct passwd *pwp;28 - rc = getpwent_r(&pw, buf, PASSWD_BUFSIZE, &pwp);37 if ((pwp = getpwent()) == NULL) {47 if (euid == pwp->pw_uid) {48 home_dir = strdup(pwp->pw_dir);
953 struct passwd pw, *pwp = nullptr; in getUserAndSshGrpList() local966 &pwp); in getUserAndSshGrpList()967 if ((r != 0) || (pwp == NULL)) in getUserAndSshGrpList()975 if ((pwp->pw_uid == 0) || in getUserAndSshGrpList()976 ((pwp->pw_uid >= 1000) && (pwp->pw_uid < 65534))) in getUserAndSshGrpList()979 if ((pwp->pw_uid >= 1000) && (pwp->pw_uid < 65534)) in getUserAndSshGrpList()982 std::string userName(pwp->pw_name); in getUserAndSshGrpList()987 std::string loginShell(pwp->pw_shell); in getUserAndSshGrpList()