/freebsd-9.3-release/crypto/heimdal/kdc/ |
H A D | string2key.c | 73 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
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | auth.h | 60 struct passwd *pw; /* set if 'valid' */ member in struct:Authctxt 184 char *expand_authorized_keys(const char *, struct passwd *pw);
|
H A D | auth-shadow.c | 91 const char *user = ctxt->pw->pw_name;
|
H A D | monitor_wrap.c | 237 struct passwd *pw; local 252 pw = NULL; 255 pw = buffer_get_string(&m, &len); 258 pw->pw_name = buffer_get_string(&m, NULL); 259 pw->pw_passwd = buffer_get_string(&m, NULL); 261 pw->pw_gecos = buffer_get_string(&m, NULL); 264 pw->pw_class = buffer_get_string(&m, NULL); 266 pw->pw_dir = buffer_get_string(&m, NULL); 267 pw->pw_shell = buffer_get_string(&m, NULL); 293 return (pw); 365 mm_user_key_allowed(struct passwd *pw, Key *key) argument 371 mm_hostbased_key_allowed(struct passwd *pw, char *user, char *host, Key *key) argument 378 mm_auth_rhosts_rsa_key_allowed(struct passwd *pw, char *user, char *host, Key *key) argument 1081 mm_auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) argument [all...] |
H A D | audit-bsm.c | 267 uid = the_authctxt->pw->pw_uid; 268 gid = the_authctxt->pw->pw_gid; 312 info.ai_auid = the_authctxt->pw->pw_uid;
|
/freebsd-9.3-release/contrib/mtree/ |
H A D | specspec.c | 59 struct passwd *pw; local 82 pw = getpwuid(n->st_uid); 83 if (pw == NULL) 86 printf(" uname=%s", pw->pw_name);
|
/freebsd-9.3-release/contrib/netcat/ |
H A D | socks.c | 116 static char pw[256]; local 120 if (readpassphrase(prompt, pw, sizeof(pw), RPP_REQUIRE_TTY) == NULL) 122 return (pw);
|
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/ |
H A D | main.c | 91 struct passwd *pw = NULL; local 138 pw = k_getpwuid(getuid()); 139 if (pw != NULL) { 140 strlcpy(homedir, pw->pw_dir, sizeof(homedir));
|
/freebsd-9.3-release/usr.sbin/mtree/ |
H A D | specspec.c | 50 struct passwd *pw; local 73 pw = getpwuid(n->st_uid); 74 if (pw == NULL) 77 printf(" uname=%s", pw->pw_name);
|
H A D | spec.c | 171 struct passwd *pw; local 308 if ((pw = getpwnam(val)) == NULL) 310 ip->st_uid = pw->pw_uid;
|
/freebsd-9.3-release/usr.sbin/repquota/ |
H A D | repquota.c | 112 struct passwd *pw; local 158 while ((pw = getpwent()) != 0) 159 (void) addid((u_long)pw->pw_uid, USRQUOTA, pw->pw_name);
|
/freebsd-9.3-release/bin/getfacl/ |
H A D | getfacl.c | 63 struct passwd *pw; local 66 if ((pw = getpwuid(uid)) == NULL) { 70 return (pw->pw_name);
|
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/ |
H A D | ent_setup.c | 75 heim_utf8_string pw = tl_data->tl_data_contents; local 77 if (pw[tl_data->tl_data_length] != '\0') 80 ret = hdb_entry_set_password(context, db, &ent->entry, pw);
|
/freebsd-9.3-release/sbin/mount_hpfs/ |
H A D | mount_hpfs.c | 172 struct passwd *pw; local 176 if ((pw = getpwnam(s)) != NULL) 177 uid = pw->pw_uid;
|
/freebsd-9.3-release/sbin/mount_msdosfs/ |
H A D | mount_msdosfs.c | 253 struct passwd *pw; local 257 if ((pw = getpwnam(s)) != NULL) 258 uid = pw->pw_uid;
|
/freebsd-9.3-release/sbin/mount_ntfs/ |
H A D | mount_ntfs.c | 215 struct passwd *pw; local 219 if ((pw = getpwnam(s)) != NULL) 220 uid = pw->pw_uid;
|
/freebsd-9.3-release/usr.sbin/chown/ |
H A D | chown.c | 246 struct passwd *pw; local 250 uid = ((pw = getpwnam(s)) != NULL) ? pw->pw_uid : id(s, "user");
|
/freebsd-9.3-release/usr.sbin/cron/cron/ |
H A D | database.c | 204 struct passwd *pw = NULL; local 208 if (strcmp(fname, SYS_NAME) && !(pw = getpwnam(uname))) { 252 u = load_user(crontab_fd, pw, fname);
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | pw_vpw.c | 60 struct passwd * pw = NULL; local 142 pw = &pwd; 152 return pw;
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | ntpd.c | 187 struct passwd *pw; variable in typeref:struct:passwd 973 if ((pw = getpwuid(sw_uid)) != NULL) { 975 user = estrdup(pw->pw_name); 976 sw_gid = pw->pw_gid; 986 if ((pw = getpwnam(user)) != NULL) { 987 sw_uid = pw->pw_uid; 988 sw_gid = pw->pw_gid; 1064 else if (pw) 1065 if (0 != initgroups(pw->pw_name, pw [all...] |
/freebsd-9.3-release/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.c | 606 struct passwd *pw; local 681 if ((pw = getpwnam(optarg)) == NULL) 683 p_euid = pw->pw_uid; 752 if ((pw = getpwnam(optarg)) == NULL) 754 p_ruid = pw->pw_uid; 762 if ((pw = getpwnam(optarg)) == NULL) 764 p_auid = pw->pw_uid;
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | sh.file.c | 357 struct passwd *pw; local 371 pw = xgetpwnam(short2str(person)); 373 if (pw == NULL) 375 home = str2short(pw->pw_dir); 480 struct passwd *pw; local 487 if ((pw = getpwent()) == NULL) 489 return (str2short(pw->pw_name));
|
/freebsd-9.3-release/contrib/pf/ftp-proxy/ |
H A D | ftp-proxy.c | 273 struct passwd *pw; local 275 pw = getpwnam(NOPRIV_USER); 276 if (pw == NULL) 281 setgroups(1, &pw->pw_gid) != 0 || 282 setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) != 0 || 283 setresuid(pw->pw_uid, pw->pw_uid, pw [all...] |
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-cray.c | 765 cray_init_job(struct passwd *pw) argument 770 jid = setjob(pw->pw_uid, WJSIGNAL); 778 if (chown(cray_tmpdir, pw->pw_uid, pw->pw_gid) != 0) { 812 cray_init_job(struct passwd *pw) argument 814 initrm_silent(pw->pw_uid);
|
/freebsd-9.3-release/bin/pax/ |
H A D | sel_subs.c | 107 struct passwd *pw; local 130 if ((pw = getpwnam(str)) == NULL) { 134 uid = (uid_t)pw->pw_uid;
|