/freebsd-current/crypto/heimdal/lib/hx509/ |
H A D | ks_file.c | 185 const struct _hx509_password *pw; local 264 pw = _hx509_lock_get_passwords(lock); 265 if (pw != NULL) { 269 for (i = 0; i < pw->len; i++) { 270 password = pw->val[i];
|
H A D | ks_p12.c | 613 const struct _hx509_password *pw; 615 pw = _hx509_lock_get_passwords(lock); 616 if (pw != NULL) { 628 ret = calculate_hash(&aspath, pw, pfx.macData);
|
/freebsd-current/crypto/openssh/ |
H A D | ssh.c | 561 process_config_files(const char *host_name, struct passwd *pw, int final_pass, argument 569 !read_config_file(config, pw, host, host_name, &options, 575 r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, 578 (void)read_config_file(buf, pw, host, host_name, 583 (void)read_config_file(_PATH_HOST_CONFIG_FILE, pw, 676 struct passwd *pw; local 710 pw = getpwuid(getuid()); 711 if (!pw) { 716 pw = pwcopy(pw); [all...] |
H A D | monitor.c | 316 if (authctxt->pw->pw_uid == 0 && 735 authctxt->pw = fakepw(); 740 authctxt->pw = pwent; 764 fatal_fr(r, "assemble pw"); 1180 allowed = user_key_allowed(ssh, authctxt->pw, key, 1192 allowed = hostbased_key_allowed(ssh, authctxt->pw, 1511 mm_record_login(struct ssh *ssh, Session *s, struct passwd *pw) argument 1530 record_login(s->pid, s->tty, pw->pw_name, pw->pw_uid, 1560 s->pw [all...] |
H A D | auth2.c | 295 authctxt->pw = PRIVSEP(getpwnamallow(ssh, user)); 297 if (authctxt->pw && strcmp(service, "ssh-connection")==0) { 303 authctxt->pw = fakepw(); 387 if (authenticated && authctxt->pw->pw_uid == 0 &&
|
H A D | sftp-server.c | 69 static struct passwd *pw = NULL; variable in typeref:struct:passwd 1583 if (tilde_expand(path, pw->pw_uid, &npath) != 0) { 1714 verbose("home-directory \"%s\"", pw->pw_dir); 1716 s.name = s.long_name = pw->pw_dir; 1818 client_addr, pw->pw_name); 1879 if (pw != NULL && client_addr != NULL) { 1882 pw->pw_name, client_addr); 1916 pw = pwcopy(user_pw); 1958 (unsigned long long)pw->pw_uid); 2012 pw [all...] |
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_common.c | 676 struct wpabuf *pw; local 679 pw = wpabuf_alloc(WPS_OOB_DEVICE_PASSWORD_LEN); 680 if (pw == NULL) 683 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), 686 wpabuf_free(pw); 691 wpabuf_free(pw); 697 *dev_pw = pw;
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | utils_module_tests.c | 257 struct wpabuf *pw; local 268 pw = ext_password_get(data, "foo"); 269 if (pw != NULL) 271 ext_password_free(pw); 275 pw = ext_password_get(NULL, "foo"); 276 if (pw != NULL) 278 ext_password_free(pw);
|
/freebsd-current/lib/librpcsec_gss/ |
H A D | svc_rpcsec_gss.c | 567 struct passwd pwd, *pw; local 579 getpwuid_r(uid, &pwd, buf, sizeof(buf), &pw); 580 if (pw) { 582 uc->uid = pw->pw_uid; 583 uc->gid = pw->pw_gid; 585 getgrouplist(pw->pw_name, pw->pw_gid, uc->gidlist, &len);
|
/freebsd-current/crypto/heimdal/appl/su/ |
H A D | su.c | 294 char *pw; local 301 pw = crypt(pw_buf, su->pw_passwd); 303 if(strcmp(pw, su->pw_passwd) != 0) {
|
/freebsd-current/sbin/shutdown/ |
H A D | shutdown.c | 101 struct passwd *pw; local 220 whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
|
/freebsd-current/contrib/smbfs/lib/smb/ |
H A D | ctx.c | 392 struct passwd *pw; local 408 pw = getpwnam(pair); 409 if (pw) { 410 *uid = pw->pw_uid;
|
/freebsd-current/contrib/nvi/common/ |
H A D | recover.c | 316 struct passwd *pw; local 337 if ((pw = getpwuid(uid = getuid())) == NULL) { 402 "To: ", pw->pw_name, "@", host, 416 "On ", ctime(&now), ", the user ", pw->pw_name,
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ap.h | 76 const struct wpabuf *pw, const u8 *pubkey_hash);
|
/freebsd-current/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 349 struct passwd *pw; local 363 pw = getpwuid(cr.cr_uid); 364 if (pw != NULL) 365 priv = (strcmp(pw->pw_name, "root") == 0);
|
/freebsd-current/usr.bin/at/ |
H A D | at.c | 460 struct passwd *pw; local 515 pw = getpwuid(buf.st_uid); 519 pw ? pw->pw_name : "???",
|
/freebsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 129 struct passwd *pw; local 182 while ((pw = getpwent()) != NULL) 183 (void) addid((u_long)pw->pw_uid, USRQUOTA, pw->pw_name,
|
/freebsd-current/sbin/mdmfs/ |
H A D | mdmfs.c | 658 struct passwd *pw; local 681 pw = getpwnam(user); 682 if (pw == NULL) 684 *uid = pw->pw_uid;
|
/freebsd-current/usr.sbin/rpc.lockd/ |
H A D | kern.c | 128 struct passwd *pw; local 162 pw = getpwnam(DAEMON_USERNAME); 163 if (pw == NULL) { 167 daemon_uid = pw->pw_uid;
|
/freebsd-current/usr.bin/calendar/ |
H A D | io.c | 715 write(pdes[1], pw->pw_name, strlen(pw->pw_name)); 717 write(pdes[1], pw->pw_name, strlen(pw->pw_name));
|
/freebsd-current/contrib/sendmail/src/ |
H A D | err.c | 133 struct passwd *pw; local 204 pw = sm_getpwuid(RealUid); 205 if (pw != NULL) 206 user = pw->pw_name;
|
H A D | readcf.c | 1742 struct passwd *pw; local 1761 pw = sm_getpwnam(q); 1762 if (pw == NULL) 1769 m->m_uid = pw->pw_uid; 1770 m->m_gid = pw->pw_gid; 3824 register struct passwd *pw; local 3827 pw = sm_getpwnam(val); 3828 if (pw == NULL) 3835 DefUid = pw->pw_uid; 3836 DefGid = pw 4159 register struct passwd *pw; local 4366 register struct passwd *pw; local [all...] |
/freebsd-current/usr.sbin/rwhod/ |
H A D | rwhod.c | 294 struct passwd *pw; local 297 pw = getpwnam(UNPRIV_USER); 298 if (pw == NULL) { 302 *uid = pw->pw_uid;
|
/freebsd-current/contrib/tcpdump/ |
H A D | tcpdump.c | 780 struct passwd *pw = NULL; local 785 pw = getpwnam(username); 786 if (pw) { 794 int ret = capng_change_id(pw->pw_uid, pw->pw_gid, CAPNG_NO_FLAG); 801 if (initgroups(pw->pw_name, pw->pw_gid) != 0 || 802 setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) 805 (unsigned long)pw [all...] |
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | utils.cc | 558 struct passwd *pw; local 565 pw = getpwnam("tests"); 566 if (pw == NULL) { 568 pw = getpwnam("nobody"); 570 if (pw == NULL) 576 *uid = pw->pw_uid;
|