Searched refs:pw (Results 201 - 225 of 393) sorted by relevance

1234567891011>>

/macosx-10.10/system_cmds-643.1.1/chpass.tproj/
H A Dchpass.h106 CFDictionaryRef edit(const char *tfn, CFDictionaryRef pw);
/macosx-10.10/top-100.1.2/
H A Doptions.c396 struct passwd *pw; local
398 pw = getpwnam(optarg);
400 if(NULL == pw) {
407 top_prefs_set_user_uid(pw->pw_uid);
/macosx-10.10/cron-39/crontab/
H A Dcrontab.c77 static struct passwd *pw; variable in typeref:struct:passwd
164 if (!(pw = getpwuid(getuid())))
166 (void) strncpy(User, pw->pw_name, (sizeof User)-1);
180 if (!(pw = getpwnam(optarg)))
182 (void) strncpy(User, pw->pw_name, (sizeof User)-1);
627 e = load_entry(tmp, check_error, pw->pw_name, envp);
629 e = load_entry(tmp, check_error, pw, envp);
/macosx-10.10/shell_cmds-179/killall/
H A Dkillall.c175 struct passwd *pw; local
298 pw = getpwnam(user);
299 if (pw == NULL)
301 uid = pw->pw_uid;
308 pw = getpwuid(uid);
309 if (pw)
310 user = pw->pw_name;
/macosx-10.10/sudo-73/src/
H A Dtestsudoers.c170 if ((sudo_user.pw = sudo_getpwnam("root")) == NULL)
174 if ((sudo_user.pw = sudo_getpwnam(*argv)) == NULL)
260 if (userlist_matches(sudo_user.pw, &us->users) != ALLOW)
339 sudo_getepw(pw)
340 const struct passwd *pw;
342 return pw->pw_passwd;
509 fputs(sudo_user.pw->pw_name, stdout);
H A Dcheck.c127 (!runas_gr || user_in_group(sudo_user.pw, runas_gr->gr_name))) {
410 return user_in_group(sudo_user.pw, def_exempt_group);
748 * case, this matches sudo_user.pw or runas_pw.
753 struct passwd *pw; local
756 if ((pw = sudo_getpwuid(0)) == NULL)
759 if ((pw = sudo_getpwnam(def_runas_default)) == NULL)
766 pw = runas_pw;
768 pw_addref(sudo_user.pw);
769 pw = sudo_user.pw;
[all...]
H A Dldap.c334 struct passwd *pw));
336 struct passwd *pw, struct lbuf *lbuf));
338 struct passwd *pw, struct lbuf *lbuf));
340 struct passwd *pw, struct lbuf *lbuf));
342 struct passwd *pw));
1141 sudo_ldap_build_pass1(pw)
1142 struct passwd *pw;
1158 sz += 29 + sudo_ldap_value_len(pw->pw_name);
1161 if ((grp = sudo_getgrgid(pw->pw_gid)) != NULL) {
1166 if (user_groups[i] == pw
[all...]
/macosx-10.10/libpcap-48/libpcap/
H A Dpcap-win32.c274 struct pcap_win *pw = p->priv; local
317 pw->stat.ps_recv++;
334 packet_len = swt - (pw->dag_fcs_bits);
346 packet_len = swt - (pw->dag_fcs_bits);
479 struct pcap_win *pw = p->priv; local
707 pw->dag_fcs_bits = p->adapter->DagFcsLen;
843 struct pcap_win *pw = p->priv; local
850 return (pw->nonblock);
856 struct pcap_win *pw = p->priv; local
877 pw
[all...]
/macosx-10.10/tcl-105/tcl_ext/bwidget/bwidget/demo/
H A Dtree.tcl16 set pw [PanedWindow $frame.pw -side top]
18 set pane [$pw add -weight 1]
37 set pane [$pw add -weight 2]
54 pack $pw -fill both -expand yes
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/krb5/
H A Dacquire_cred.c740 krb5_data pw; local
741 pw.data = handle->password;
742 pw.length = strlen(handle->password);
743 ret = krb5_cc_set_config(context, handle->ccache, NULL, "password", &pw);
826 heim_object_t pw, cname, cert, lkdc; local
829 pw = heim_dict_copy_value(dict, _gsskrb5_kGSSICPassword);
830 if (pw) {
831 if (heim_get_tid(pw) == heim_string_get_type_id()) {
832 passwordstr = heim_string_copy_utf8(pw);
837 } else if (heim_get_tid(pw)
[all...]
/macosx-10.10/lukemftp-14/tnftp/src/
H A Dmain.c152 struct passwd *pw; local
481 pw = NULL;
484 pw = getpwnam(cp);
485 if (pw == NULL)
486 pw = getpwuid(getuid());
487 if (pw != NULL) {
488 if (localhome == NULL && !EMPTYSTRING(pw->pw_dir))
489 localhome = ftp_strdup(pw->pw_dir);
490 localname = ftp_strdup(pw->pw_name);
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/demos/
H A Dcatalog298 iwidgets::panedwindow .pw -orient vertical
299 pack .pw -expand yes -fill both
301 .pw add "widgets"
302 set pane [.pw childsite "widgets"]
311 .pw add "info"
312 set pane [.pw childsite "info"]
315 .pw fraction 25 75
/macosx-10.10/Heimdal-398.1.2/lib/kadm5/
H A Dget_s.c300 heim_utf8_string pw = NULL; local
303 context->db, &ent.entry, &pw);
304 if (ret == 0 && pw) {
305 ret = add_tl_data(out, KRB5_TL_PASSWORD, pw, strlen(pw) + 1);
306 free(pw);
H A Dent_setup.c77 heim_utf8_string pw = tl_data->tl_data_contents; local
79 if (pw[tl_data->tl_data_length] != '\0')
82 ret = hdb_entry_set_password(context, db, &ent->entry, pw);
/macosx-10.10/Heimdal-398.1.2/kdc/
H A Dstring2key.c73 const char *pw,
82 ret = krb5_string_to_key_salt(context, enctype, pw, salt, &key);
71 tokey(krb5_context context, krb5_enctype enctype, const char *pw, krb5_salt salt, const char *label) argument
/macosx-10.10/OpenSSH-189/openssh/
H A Dauth.h64 struct passwd *pw; /* set if 'valid' */ member in struct:Authctxt
186 char *expand_authorized_keys(const char *, struct passwd *pw);
H A Dauth-shadow.c91 const char *user = ctxt->pw->pw_name;
H A Dauth2-gss.c81 authctxt->pw));
282 authctxt->pw));
318 PRIVSEP(ssh_gssapi_userok(authctxt->user, authctxt->pw));
/macosx-10.10/bootp-298/bootpd.tproj/
H A DAFPUsers.c434 CFStringRef pw; local
438 pw = CFDictionaryGetValue(user, kAFPUserPassword);
440 if (pw != NULL && last_set != NULL
449 (void)_SC_cfstring_to_cstring(pw, passwd, passwd_len,
457 pw = CFStringCreateWithCString(NULL, passwd, kCFStringEncodingASCII);
458 ok = ODRecordChangePassword(record, NULL, pw, NULL);
460 CFDictionarySetValue(user, kAFPUserPassword, pw);
469 CFRelease(pw);
/macosx-10.10/cups-408/cups/cups/
H A Dusersys.c1075 struct passwd *pw = NULL; /* Account information */
1085 if ((pw = getpwnam(envuser)) != NULL && pw->pw_uid != getuid())
1086 pw = NULL;
1089 if (!pw)
1090 pw = getpwuid(getuid());
1092 if (pw)
1093 strlcpy(cg->user, pw->pw_name, sizeof(cg->user));
/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftp/
H A Dmain.c91 struct passwd *pw = NULL; local
138 pw = k_getpwuid(getuid());
139 if (pw != NULL) {
140 strlcpy(homedir, pw->pw_dir, sizeof(homedir));
/macosx-10.10/Security-57031.1.35/Security/sec/Security/Regressions/vmdh/
H A Dvmdh-41-example.c92 static const uint8_t pw[] = { variable
126 uint8_t encpw[vmdh_encpw_len(sizeof(pw))];
130 pw, sizeof(pw), encpw, &encpw_len), "vmdh_encrypt_password");
/macosx-10.10/file_cmds-242/mtree/
H A Dspecspec.c51 struct passwd *pw; local
74 pw = getpwuid(n->st_uid);
75 if (pw == NULL)
78 printf(" uname=%s", pw->pw_name);
/macosx-10.10/tcl-105/tcl_ext/xotcl/xotcl/tests/
H A Dxocomm.test58 upvar $userVar u $pwVar pw
60 set pw test
/macosx-10.10/apache-793/httpd/support/
H A Dhtdigest.c127 char *pw; local
146 pw = pwin;
150 apr_snprintf(string, sizeof(string), "%s:%s:%s", user, realm, pw);

Completed in 138 milliseconds

1234567891011>>