Searched refs:pw_name (Results 1 - 25 of 69) sorted by relevance

123

/osnet-11/usr/src/lib/libc/port/gen/
H A Dputpwent.c44 (void) fprintf(f, "%s:%s", p->pw_name,
48 black_magic = (*p->pw_name == '+' || *p->pw_name == '-');
H A Dgetuserattrnam.c153 return (getuserattrnam(pwd.pw_name, key, where, deflt));
H A Dgetpwnam_r.c192 (nam = ((struct passwd *)arg.returnval)->pw_name) != 0 &&
267 passwd->pw_name = p = gettok(&next); /* username */
H A Dgetuserattr.c210 return (getusernam(pwd.pw_name));
/osnet-11/usr/src/lib/passwdutil/
H A Dutils.c66 if (pw->pw_name) free(pw->pw_name);
92 if (s->pw_name) {
93 if (((*d)->pw_name = strdup(s->pw_name)) == NULL)
243 if (chkauthattr(ACCOUNT_ACTIVATE_AUTH, pw.pw_name) ||
244 chkauthattr(ACCOUNT_SETPOLICY_AUTH, pw.pw_name) ||
245 chkauthattr(USER_MANAGE_AUTH, pw.pw_name) ||
246 chkauthattr(ROLE_MANAGE_AUTH, pw.pw_name) ||
247 chkauthattr(PASSWD_ASSIGN_AUTH, pw.pw_name)) {
[all...]
H A Dnis_attr.c109 pwd->pw_name = strsep(&nis, ":");
211 if ((w->data.val_s = strdup(pw->pw_name)) == NULL)
/osnet-11/usr/src/lib/libadm/common/
H A Dckuid.c71 n += strlen(pwdptr->pw_name) + 2;
78 (void) strcat(msg, pwdptr->pw_name);
94 (void) printf("%s\n", pwdptr->pw_name);
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyppasswd_xdr.c37 if (!xdr_wrapstring(xdrsp, &pw->pw_name))
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dmailq.c46 if (pw && chkauthattr(MAILQ_AUTH, pw->pw_name)) {
H A Dpraliases.c80 if (strlen(pw->pw_name) > MAXNAME - 1)
81 pw->pw_name[MAXNAME] = 0;
82 sm_snprintf(rnamebuf, sizeof rnamebuf, "%s", pw->pw_name);
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dcuserid.c65 (void) strlcpy(s, pw->pw_name, L_cuserid);
/osnet-11/usr/src/lib/pam_modules/roles/
H A Droles.c110 if (((user_entry = getusernam(pw_entry->pw_name)) == NULL) ||
122 if (strcmp(username, pw_entry->pw_name) != 0) {
126 username, pw_entry->pw_uid, pw_entry->pw_name);
150 user_entry = getusernam(pw_entry->pw_name);
/osnet-11/usr/src/lib/libpkg/common/
H A Dncgrpw.c501 if (pwd->pw_name == NULL) {
503 pkg_gt(ERR_BADMEMB), "dup_pw_ent()", "pw_name",
506 } else if ((pwd->pw_name = strdup(pwd->pw_name)) == NULL) {
508 pkg_gt(ERR_DUPFAIL), "dup_pw_ent()", "pw_name");
515 pwd->pw_name, "passwd");
526 pwd->pw_name, "passwd");
537 pwd->pw_name, "passwd");
549 pwd->pw_name, "passwd");
560 pwd->pw_name, "passw
[all...]
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c112 char *pw_name; member in struct:passwd_entry
180 (!validstr(yppwd.newpw.pw_name, UTUSERLEN)) ||
263 for (p = yppwd->newpw.pw_name; (*p != '\0'); p++)
271 old_pwd = get_old_info(yppwd->newpw.pw_name, domain);
275 "domain %s", yppwd->newpw.pw_name, domain);
309 yppwd->newpw.pw_name);
545 key.dptr = pwd->pw_name;
652 "No change for %s", yppwd->newpw.pw_name);
669 shadow = get_old_shadow(yppwd->newpw.pw_name, domain);
750 (strcmp(p, old_ent->pw_name)
[all...]
/osnet-11/usr/src/lib/nsswitch/compat/common/
H A Dgetpwent.c131 return (p->pw_name);
140 return (strcmp(p->pw_name, argp->key.name) == 0);
206 pw->pw_name, fields[1]);
211 pw->pw_name, pw->pw_passwd, pw->pw_age);
214 pw->pw_name, pw->pw_passwd);
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtuid.c80 name = pw->pw_name;
/osnet-11/usr/src/lib/pam_modules/sample/
H A Dsample_acct_mgmt.c86 user = pw->pw_name;
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_pwdutil.c480 if (strcmp(smbpw.pw_name, name) == 0) {
500 (void) strlcpy(smbpw.pw_name, uxpw.pw_name,
501 sizeof (smbpw.pw_name));
588 (void) strlcpy(pw->pw_name, argv[SMB_PWD_NAME], sizeof (pw->pw_name));
704 rc = fprintf(fp, "%s:%u:%s:%s\n", pw->pw_name, pw->pw_uid,
754 err = strcmp(name, smbpw->pw_name);
756 err = strcasecmp(name, smbpw->pw_name);
970 uc_node.cn_user.su_name = smbpw.pw_name;
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Did.c255 name = pw->pw_name;
284 name = (pw = getpwuid(user)) ? pw->pw_name : (char*)0;
332 putid(sp, flags, " euid", (pw = getpwuid(euid)) ? pw->pw_name : (char*)0, euid);
/osnet-11/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c177 *out_is_allowed = (chkauthattr(authname, pw->pw_name) != 0);
/osnet-11/usr/src/cmd/sendmail/src/
H A Drecipient.c1240 if (sm_strcasecmp(pw->pw_name, name) == 0)
1248 sm_pwfullname(pw->pw_gecos, pw->pw_name, buf, sizeof(buf));
1252 sm_dprintf("fuzzy matches %s\n", pw->pw_name);
1253 message("sending to login name %s", pw->pw_name);
1762 pw->pw_name);
1767 if (!usershellok(pw->pw_name, sh))
1774 pw->pw_name, sh,
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/File/
H A DFile.xs83 strlcpy(user, pwent->pw_name, sizeof (user));
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dmbdb.c193 (void) sm_strlcpy(user->mbdb_name, pw->pw_name,
197 sm_pwfullname(pw->pw_gecos, pw->pw_name, user->mbdb_fullname,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/User/
H A Dpwent.pm19 $pw_name $pw_passwd $pw_uid $pw_gid
140 $pw_name = $pwob->name ( $_[0] );
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dimport_name.c205 stringrep = pw->pw_name;

Completed in 162 milliseconds

123