Searched refs:pw (Results 126 - 150 of 242) sorted by relevance

12345678910

/freebsd-9.3-release/crypto/heimdal/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
/freebsd-9.3-release/crypto/openssh/
H A Dauth.h60 struct passwd *pw; /* set if 'valid' */ member in struct:Authctxt
184 char *expand_authorized_keys(const char *, struct passwd *pw);
H A Dauth-shadow.c91 const char *user = ctxt->pw->pw_name;
H A Dmonitor_wrap.c237 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 Daudit-bsm.c267 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 Dspecspec.c59 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 Dsocks.c116 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 Dmain.c91 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 Dspecspec.c50 struct passwd *pw; local
73 pw = getpwuid(n->st_uid);
74 if (pw == NULL)
77 printf(" uname=%s", pw->pw_name);
H A Dspec.c171 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 Drepquota.c112 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 Dgetfacl.c63 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 Dent_setup.c75 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 Dmount_hpfs.c172 struct passwd *pw; local
176 if ((pw = getpwnam(s)) != NULL)
177 uid = pw->pw_uid;
/freebsd-9.3-release/sbin/mount_msdosfs/
H A Dmount_msdosfs.c253 struct passwd *pw; local
257 if ((pw = getpwnam(s)) != NULL)
258 uid = pw->pw_uid;
/freebsd-9.3-release/sbin/mount_ntfs/
H A Dmount_ntfs.c215 struct passwd *pw; local
219 if ((pw = getpwnam(s)) != NULL)
220 uid = pw->pw_uid;
/freebsd-9.3-release/usr.sbin/chown/
H A Dchown.c246 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 Ddatabase.c204 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 Dpw_vpw.c60 struct passwd * pw = NULL; local
142 pw = &pwd;
152 return pw;
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntpd.c187 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 Dauditreduce.c606 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 Dsh.file.c357 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 Dftp-proxy.c273 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 Dbsd-cray.c765 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 Dsel_subs.c107 struct passwd *pw; local
130 if ((pw = getpwnam(str)) == NULL) {
134 uid = (uid_t)pw->pw_uid;

Completed in 390 milliseconds

12345678910