/macosx-10.10/Security-57031.1.35/Security/authd/ |
H A D | credential.c | 123 struct passwd *pw = getpwuid(uid); local 124 if (pw != NULL) { 126 if ( (pw->pw_passwd == NULL) || strcmp(pw->pw_passwd, "*") ) { 127 cred->uid = pw->pw_uid; 128 cred->name = _copy_string(pw->pw_name); 129 cred->realName = _copy_string(pw->pw_gecos);
|
/macosx-10.10/cups-408/cups/scheduler/ |
H A D | policy.c | 273 struct passwd *pw; /* User info */ local 341 pw = getpwnam(username); 345 pw = NULL; 378 if (cupsdCheckGroup(username, pw, acl + 1)) 387 if (cupsdCheckGroup(username, pw, acl)) 409 if (cupsdCheckGroup(username, pw, SystemGroups[i])) 421 if (cupsdCheckGroup(username, pw, name + 1))
|
H A D | auth.c | 77 static char *cups_crypt(const char *pw, const char *salt); 716 struct passwd *pw; /* User password data */ 722 pw = getpwnam(username); /* Get the current password */ 725 if (!pw) 741 if (!spw && !strcmp(pw->pw_passwd, "x")) 753 if (spw && !spw->sp_pwdp[0] && !pw->pw_passwd[0]) 755 if (!pw->pw_passwd[0]) 773 pass = cups_crypt(password, pw->pw_passwd); 777 con->number, pw->pw_passwd, pass); 779 if (!pass || strcmp(pw 1619 struct passwd *pw; /* User password data */ local 2092 cups_crypt(const char *pw, const char *salt) argument [all...] |
/macosx-10.10/remote_cmds-47/wall.tproj/ |
H A D | wall.c | 124 struct passwd *pw; local 195 pw = getpwnam(username); 196 if (!pw) 201 if (g->gid == pw->pw_gid) 240 struct passwd *pw; local 261 whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
|
/macosx-10.10/Heimdal-398.1.2/tests/kdc/ |
H A D | check-kpasswdd.in | 139 pw=ak4unandsop39NuJ 146 send ${pw}\n 148 send ${pw}\n 157 echo ${pw} > ${testdir}/barpassword 178 send ${pw}\n 180 send ${pw}\n
|
/macosx-10.10/shell_cmds-179/chroot/ |
H A D | chroot.c | 74 struct passwd *pw; local 143 if ((pw = getpwnam(user))) 144 uid = pw->pw_uid;
|
/macosx-10.10/sudo-73/src/ |
H A D | sudo.c | 326 set_loginclass(runas_pw ? runas_pw : sudo_user.pw); 401 struct passwd *pw; local 404 pw = sudo_getpwuid(atoi(def_timestampowner + 1)); 406 pw = sudo_getpwnam(def_timestampowner); 407 if (pw != NULL) { 408 timestamp_uid = pw->pw_uid; 409 pw_delref(pw); 453 /* If run as root with SUDO_USER set, set sudo_user.pw to that user. */ 457 struct passwd *pw; local 459 if ((pw [all...] |
/macosx-10.10/Heimdal-398.1.2/admin/ |
H A D | add.c | 148 krb5_data pw; local 153 pw.data = (void*)opt->password_string; 154 pw.length = strlen(opt->password_string); 155 ret = krb5_string_to_key_data_salt(context, enctype, pw, salt,
|
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | port-solaris.c | 210 solaris_set_default_project(struct passwd *pw) argument 217 if ((defaultproject = getdefaultproj(pw->pw_name, &tempproject, &buf, 220 if (setproject(defaultproject->pj_name, pw->pw_name, 226 debug("getdefaultproj(%s): %s", pw->pw_name, strerror(errno));
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | session.h | 35 struct passwd *pw; member in struct:Session
|
H A D | ssh-keygen.c | 201 ask_filename(struct passwd *pw, const char *prompt) argument 235 snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name); 271 do_convert_to_ssh2(struct passwd *pw, Key *k) argument 289 pw->pw_name, hostname); 348 do_convert_to(struct passwd *pw) argument 354 ask_filename(pw, "Enter file in which the key is"); 366 do_convert_to_ssh2(pw, k); 518 do_convert_from_ssh2(struct passwd *pw, Key **k, int *private) argument 645 do_convert_from(struct passwd *pw) argument 652 ask_filename(pw, "Ente 705 do_print_public(struct passwd *pw) argument 729 do_download(struct passwd *pw) argument 771 do_fingerprint(struct passwd *pw) argument 879 do_gen_all_hostkeys(struct passwd *pw) argument 1001 do_known_hosts(struct passwd *pw, const char *name) argument 1221 do_change_passphrase(struct passwd *pw) argument 1302 do_print_resource_record(struct passwd *pw, char *fname, char *hname) argument 1334 do_change_comment(struct passwd *pw) argument 1546 do_ca_sign(struct passwd *pw, int argc, char **argv) argument 1849 do_show_cert(struct passwd *pw) argument 1931 update_krl_from_file(struct passwd *pw, const char *file, const Key *ca, struct ssh_krl *krl) argument 2053 do_gen_krl(struct passwd *pw, int updating, int argc, char **argv) argument 2105 do_check_krl(struct passwd *pw, int argc, char **argv) argument 2195 struct passwd *pw; local [all...] |
H A D | auth-krb5.c | 84 platform_client = platform_krb5_get_principal_name(authctxt->pw->pw_name); 85 client = platform_client ? platform_client : authctxt->pw->pw_name; 87 temporarily_use_uid(authctxt->pw); 113 temporarily_use_uid(authctxt->pw); 145 temporarily_use_uid(authctxt->pw);
|
H A D | auth1.c | 324 if (authenticated && authctxt->pw->pw_uid == 0 && 404 if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) 408 authctxt->pw = fakepw(); 429 if (!use_privsep && getuid() != 0 && authctxt->pw && 430 authctxt->pw->pw_uid != getuid())
|
H A D | logintest.c | 87 struct passwd *pw; local 100 pw = getpwuid(getuid()); 101 strlcpy(username, pw->pw_name, sizeof(username));
|
/macosx-10.10/apr-32/apr/apr/user/netware/ |
H A D | userinfo.c | 34 struct passwd *pw, 33 getpwnam_safe(const char *username, struct passwd *pw, char pwbuf[PWBUF_SIZE]) argument
|
/macosx-10.10/apr-32/apr-util/apr-util/include/ |
H A D | apr_md5.h | 151 APU_DECLARE(apr_status_t) apr_bcrypt_encode(const char *pw,
|
/macosx-10.10/procmail-14/procmail/src/ |
H A D | authenticate.h | 19 auth_checkpassword P((const auth_identity*const pass,const char*const pw,
|
/macosx-10.10/ruby-106/ruby/lib/webrick/ |
H A D | utils.rb | 45 pw = Etc.getpwnam(user) 46 Process::initgroups(user, pw.gid) 47 Process::Sys::setgid(pw.gid) 48 Process::Sys::setuid(pw.uid)
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/ldap/ |
H A D | ldapChangeTest | 73 set pw secret 75 ldap::bind $handle $dn $pw
|
/macosx-10.10/Heimdal-398.1.2/lib/kadm5/ |
H A D | password_quality.c | 100 char *pw; local 108 pw = malloc(len); 109 if (pw == NULL) { 113 strlcpy(pw, pwd->data, len); 114 len = strlen(pw); 117 if (strcspn(pw, classes[i]) < len) 120 memset(pw, 0, pwd->length + 1); 121 free(pw);
|
/macosx-10.10/Heimdal-398.1.2/kcm/ |
H A D | config.c | 172 struct passwd *pw; local 177 pw = getpwuid(atoi(system_user)); 179 pw = getpwnam(system_user); 181 if (pw == NULL) { 185 system_user = strdup(pw->pw_name); 190 uid = pw->pw_uid; uid_p = 1;
|
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/unix/ |
H A D | tclXunixId.c | 156 struct passwd *pw = getpwuid (userId); 160 if ((pw == NULL) || ((int) uid != userId)) { 169 Tcl_AppendToObj (resultObj, pw->pw_name, -1); 179 struct passwd *pw = getpwnam (userName); 182 if (pw == NULL) { 190 Tcl_SetObjResult (interp, Tcl_NewIntObj (pw->pw_uid)); 509 struct passwd *pw; 521 pw = getpwnam (user); 522 if (pw == NULL) { 527 if (setuid (pw 155 struct passwd *pw = getpwuid (userId); local 178 struct passwd *pw = getpwnam (userName); local 508 struct passwd *pw; local [all...] |
/macosx-10.10/ICU-531.30/icuSources/common/ |
H A D | uarrsort.c | 170 void *px, void *pw) { 203 uprv_memcpy(pw, array+left*itemSize, itemSize); 205 uprv_memcpy(array+right*itemSize, pw, itemSize); 216 subQuickSort(array, start, right, itemSize, cmp, context, px, pw); 224 subQuickSort(array, left, limit, itemSize, cmp, context, px, pw); 168 subQuickSort(char *array, int32_t start, int32_t limit, int32_t itemSize, UComparator *cmp, const void *context, void *px, void *pw) argument
|
/macosx-10.10/Heimdal-398.1.2/appl/afsutil/ |
H A D | pagsh.c | 171 struct passwd *pw = k_getpwuid(geteuid()); local 172 if (pw == NULL) 174 path = strdup(pw->pw_shell);
|
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/krbtool/ |
H A D | krbtool.cpp | 76 struct passwd *pw = getpwuid(getuid ()); local 77 if(pw == NULL) { 81 principalStr = strdup(pw->pw_name);
|