Lines Matching refs:pw_ptr1p
296 struct passwd *pw_ptr1p, passwd_st;
824 pw_ptr1p = fgetpwent(pwf);
825 if (pw_ptr1p == NULL) {
846 add_uid(pw_ptr1p->pw_uid);
850 if (strcmp(lognamp, pw_ptr1p->pw_name) &&
851 (pw_ptr1p->pw_uid == passwd_st.pw_uid) &&
859 if (strcmp(lognamp, pw_ptr1p->pw_name) == 0 &&
861 strcmp(pw_ptr1p->pw_name, passwd_st.pw_name) == 0) {
864 if (!getspnam(pw_ptr1p->pw_name))
866 if (!local_getspnam(pw_ptr1p->pw_name))
873 if (strcmp(lognamp, pw_ptr1p->pw_name) == 0) {
907 pw_ptr1p->pw_name = passwd_st.pw_name;
910 pw_ptr1p->pw_uid = passwd_st.pw_uid;
913 pw_ptr1p->pw_gid = passwd_st.pw_gid;
916 pw_ptr1p->pw_comment =
919 pw_ptr1p->pw_gecos =
924 pw_ptr1p->pw_dir = passwd_st.pw_dir;
927 pw_ptr1p->pw_shell = passwd_st.pw_shell;
928 ck_p_sz(pw_ptr1p); /* check entry size */
935 p = strchr("+-", pw_ptr1p->pw_name[0]);
951 if (putpwent(pw_ptr1p, fp_ptemp)) {