/titanic_41/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 245 if (!pwdp->pw_passwd || in main() 246 (pwdp->pw_passwd && in main() 247 *pwdp->pw_passwd == NULL)) { in main() 257 sp->sp_pwdp = pwdp->pw_passwd; in main() 258 pwdp->pw_passwd = pwdflr; in main() 310 if ((!pwdp->pw_passwd || in main() 311 (pwdp->pw_passwd && *pwdp->pw_passwd == NULL)) && in main() 317 if (pwdp->pw_passwd && *pwdp->pw_passwd) { in main() 318 if (strcmp(pwdp->pw_passwd, pwdflr)) { in main() 319 sp->sp_pwdp = pwdp->pw_passwd; in main() [all …]
|
/titanic_41/usr/src/lib/nsswitch/ldap/common/ |
H A D | getspent.c | 76 char *pw_passwd = NULL; in _nss_ldap_shadow2str() local 103 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str() 114 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str() 116 pw_passwd = tmp + strlen("{crypt}"); in _nss_ldap_shadow2str() 117 if (strcmp(pw_passwd, in _nss_ldap_shadow2str() 119 *pw_passwd = '\0'; in _nss_ldap_shadow2str() 123 pw_passwd = NOPWDRTR; in _nss_ldap_shadow2str() 126 len += strlen(pw_passwd); in _nss_ldap_shadow2str() 215 uid[0], pw_passwd, last_str, min_str, max_str, warning_str, in _nss_ldap_shadow2str() 219 uid[0], pw_passwd, flag_str); in _nss_ldap_shadow2str()
|
/titanic_41/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 115 char *pw_passwd; member 181 if ((!validstr(yppwd.newpw.pw_passwd, CRYPTPWSIZE)) || in shim_changepasswd() 268 for (p = yppwd->newpw.pw_passwd; (*p != '\0'); p++) in proc_domain() 308 if ((0 != strcmp(crypt(yppwd->oldpass, old_pwd->pw_passwd), in proc_request() 309 old_pwd->pw_passwd)) && !root_on_master) { in proc_request() 719 if (NULL != old_ent->pw_passwd) in modify_ent() 720 sfree(old_ent->pw_passwd); in modify_ent() 721 old_ent->pw_passwd = strdup(yppwd->newpw.pw_passwd); in modify_ent() 722 if (NULL == old_ent->pw_passwd) { in modify_ent() 748 p = yppwd->newpw.pw_passwd; in get_change_list() [all …]
|
/titanic_41/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 148 (!validstr(yppwd.newpw.pw_passwd, cryptpwsize)) || in changepasswd() 436 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, newpw.pw_passwd, in changepasswd() 442 p = newpw.pw_passwd; in changepasswd() 447 (strcmp(oldpass_crypt, newpw.pw_passwd) != 0)) in changepasswd() 514 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, opwd.pw_passwd, in changepasswd() 518 if (!root_on_master && opwd.pw_passwd && *opwd.pw_passwd && in changepasswd() 519 (strcmp(oldpass_crypt, opwd.pw_passwd) != 0)) { in changepasswd() 534 yppwd.newpw.pw_passwd); in changepasswd() 551 for (p = newpw.pw_passwd; (*p != '\0'); p++) in changepasswd() 578 ospwd.sp_pwdp = newpw.pw_passwd; in changepasswd() [all …]
|
H A D | yppasswdxdr.c | 41 if (!xdr_wrapstring(xdrs, &pw->pw_passwd)) { in xdr_passwd()
|
/titanic_41/usr/src/lib/passwdutil/ |
H A D | utils.c | 64 if (pw->pw_passwd) free(pw->pw_passwd); in free_pwd() 93 if (s->pw_passwd) { in dup_pw() 94 if (((*d)->pw_passwd = strdup(s->pw_passwd)) == NULL) in dup_pw()
|
H A D | nis_attr.c | 109 pwd->pw_passwd = strsep(&nis, ":"); in nis_to_pwd() 228 if ((w->data.val_s = strdup(pw->pw_passwd)) == NULL) in nis_getattr() 347 if (nisbuf->pwd->pw_passwd[0] == '#' && in nis_getpwnam() 348 nisbuf->pwd->pw_passwd[1] == '#') { in nis_getpwnam() 349 char *key = &nisbuf->pwd->pw_passwd[2]; in nis_getpwnam() 363 nisbuf->pwd->pw_passwd = strsep(&p, ":"); in nis_getpwnam() 397 nisbuf->pwd->pw_passwd, nisbuf->pwd); in nis_update() 410 nisbuf->pwd->pw_passwd = crypt(p->data.val_s, salt); in nis_update()
|
H A D | switch_utils.c | 323 passwd->pw_passwd = ""; in str2passwd() 334 passwd->pw_passwd = p = gettok(&next); /* password */ in str2passwd()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | putpwent.c | 45 p->pw_passwd ? p->pw_passwd : ""); in putpwent()
|
H A D | getpwnam_r.c | 279 passwd->pw_passwd = ""; in str2passwd() 290 passwd->pw_passwd = p = gettok(&next); /* password */ in str2passwd()
|
/titanic_41/usr/src/lib/libbc/inc/include/ |
H A D | pwd.h | 39 char *pw_passwd; member
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | pwdauth.c | 60 enpwp = pwp->pw_passwd; in pwdauth()
|
/titanic_41/usr/src/lib/libbc/inc/5include/ |
H A D | pwd.h | 48 char *pw_passwd; member
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yppasswd_xdr.c | 39 if (!xdr_wrapstring(xdrsp, &pw->pw_passwd)) in xdr_passwd()
|
/titanic_41/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | getpw.c | 42 strcat(buf, pw->pw_passwd); in getpw()
|
/titanic_41/usr/src/lib/nsswitch/compat/common/ |
H A D | getpwent.c | 212 pw->pw_name, pw->pw_passwd, pw->pw_age); 215 pw->pw_name, pw->pw_passwd);
|
/titanic_41/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | getpw.c | 42 strcat(buf, pw->pw_passwd); in getpw()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 512 if (pwd->pw_passwd == NULL) { in dup_pw_ent() 517 } else if ((pwd->pw_passwd = strdup(pwd->pw_passwd)) == NULL) { in dup_pw_ent()
|
/titanic_41/usr/src/head/ |
H A D | pwd.h | 50 char *pw_passwd; member
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | misc.c | 163 copy->pw_passwd = xstrdup(pw->pw_passwd); in pwcopy() 193 xfree(p->pw_passwd); in pwfree()
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | auth-passwd.c | 169 pw_password = pw->pw_passwd; in auth_password()
|
/titanic_41/usr/src/cmd/oamuser/user/ |
H A D | usermod.c | 131 npw->pw_passwd = strcpmalloc(opw->pw_passwd);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1353 pw->pw_passwd = spwd->sp_pwdp; 1360 if (pw->pw_passwd == NULL || strlen(pw->pw_passwd) < 2 || 1361 strcmp(crypt(passwd, pw->pw_passwd), pw->pw_passwd) != 0)
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 173 need += strlen(pw->pw_passwd) + 1; in irp_marshall_pw() 205 strcat(*buffer, pw->pw_passwd); strcat(*buffer, fieldsep); in irp_marshall_pw() 362 pw->pw_passwd = pass; in irp_unmarshall_pw() 2258 pw->pw_name, pw->pw_passwd, (long)pw->pw_uid, in main()
|
/titanic_41/usr/src/cmd/logins/ |
H A D | logins.c | 1113 lpw->pw.pw_passwd = strdup(pw->pw_passwd); in fill_localpw()
|