/dragonfly/crypto/openssh/ |
H A D | session.h | 35 struct passwd *pw; member
|
H A D | auth-pam.c | 294 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1) in sshpam_chauthtok_ruid() 913 (sshpam_authctxt->pw->pw_uid == 0 && in sshpam_query() 993 (sshpam_authctxt->pw->pw_uid != 0 || in sshpam_respond() 1355 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 && in sshpam_auth_passwd()
|
/dragonfly/usr.sbin/mtree/ |
H A D | create.c | 101 struct passwd *pw; in cwalk() local 102 user = (pw = getpwuid(getuid())) != NULL ? pw->pw_name : in cwalk()
|
/dragonfly/crypto/libressl/apps/nc/ |
H A D | socks.c | 114 char *pw, size_t pwlen) in getproxypass() argument 120 if (readpassphrase(prompt, pw, pwlen, RPP_REQUIRE_TTY) == NULL) in getproxypass()
|
/dragonfly/usr.bin/calendar/ |
H A D | io.c | 707 struct passwd *pw = getpwuid(uid); in write_mailheader() local 724 pw->pw_name, pw->pw_name, dayname); in write_mailheader()
|
/dragonfly/sbin/mount_ufs/ |
H A D | mount.c | 465 struct passwd *pw; in prmount() local 485 if ((pw = getpwuid(sfp->f_owner)) != NULL) in prmount() 486 printf("%s", pw->pw_name); in prmount()
|
/dragonfly/sbin/vquota/ |
H A D | vquota.c | 330 struct passwd *pw; in print_user() local 332 if (flag_resolve_ids && ((pw = getpwuid(uid)) != NULL)) { in print_user() 333 printf("user %s:", pw->pw_name); in print_user()
|
/dragonfly/sbin/dhclient/ |
H A D | dhclient.c | 276 struct passwd *pw; in main() local 448 if ((pw = getpwnam("_dhcp")) == NULL) in main() 479 if (setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) == -1) in main() 481 if (setgroups(1, &pw->pw_gid) == -1) in main() 483 if (setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid) == -1) in main()
|
/dragonfly/bin/sh/ |
H A D | parser.c | 1994 struct passwd *pw; in getusername() local 2006 pw = getpwlogin(); in getusername() 2007 if (pw == NULL || pw->pw_uid != euid) in getusername() 2008 pw = getpwuid(euid); in getusername() 2010 if (pw != NULL) { in getusername() 2011 strlcpy(cached_name, pw->pw_name, in getusername()
|
/dragonfly/sbin/fsck/ |
H A D | inode.c | 511 struct passwd *pw; in pinode() local 519 if ((pw = getpwuid((int)dp->di_uid)) != NULL) in pinode() 520 printf("%s ", pw->pw_name); in pinode()
|
/dragonfly/sbin/mount/ |
H A D | mount.c | 508 struct passwd *pw; in prmount() local 528 if ((pw = getpwuid(sfp->f_owner)) != NULL) in prmount() 529 printf("%s", pw->pw_name); in prmount()
|
/dragonfly/usr.bin/pkill/ |
H A D | pkill.c | 672 struct passwd *pw; in makelist() local 736 if ((pw = getpwnam(sp)) == NULL) in makelist() 738 li->li_number = pw->pw_uid; in makelist()
|
/dragonfly/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 118 struct passwd *pw; in main() local 288 if ((pw = getpwuid(userid)) == NULL) in main() 290 lpr_username = pw->pw_name; in main()
|
/dragonfly/sbin/mountd/ |
H A D | mountd.c | 2300 struct passwd *pw; in parsecred() local 2318 pw = getpwuid(atoi(name)); in parsecred() 2320 pw = getpwnam(name); in parsecred() 2325 if (pw == NULL) { in parsecred() 2329 cr->cr_uid = pw->pw_uid; in parsecred() 2331 if (getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups)) in parsecred() 2346 if (pw != NULL) in parsecred() 2347 cr->cr_uid = pw->pw_uid; in parsecred()
|
/dragonfly/usr.bin/top/ |
H A D | m_dragonfly.c | 257 struct passwd *pw; in machine_init() local 269 while ((pw = getpwent()) != NULL) { in machine_init() 270 if ((int)strlen(pw->pw_name) > namelength) in machine_init() 271 namelength = strlen(pw->pw_name); in machine_init()
|
/dragonfly/usr.sbin/ |
H A D | Makefile | 87 pw \
|
/dragonfly/usr.sbin/edquota/ |
H A D | edquota.c | 291 struct passwd *pw; in getentry() local 298 if ((pw = getpwnam(name))) in getentry() 299 return (pw->pw_uid); in getentry()
|
/dragonfly/nrelease/root/etc/rc.d/ |
H A D | pfi | 168 /usr/sbin/pw usermod root -h 0
|
/dragonfly/share/installer/ |
H A D | cmdnames.conf | 70 PW=usr/sbin/pw
|
/dragonfly/usr.bin/stat/ |
H A D | stat.c | 627 struct passwd *pw; in format1() local 727 if ((pw = getpwuid(st->st_uid)) != NULL) in format1() 728 sdata = pw->pw_name; in format1()
|
/dragonfly/gnu/usr.bin/rcs/lib/ |
H A D | rcsutil.c | 368 struct passwd const *pw = getpwuid(ruid()); local 369 if (!pw) 373 name = pw->pw_name;
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | server.c | 6525 struct passwd *pw; in switch_to_user() local 6548 pw = getpwnam (username); in switch_to_user() 6549 if (pw == NULL) in switch_to_user() 6559 if (pw->pw_uid == 0) in switch_to_user() 6574 if (initgroups (pw->pw_name, pw->pw_gid) < 0 in switch_to_user() 6619 if (setgid (pw->pw_gid) < 0) in switch_to_user() 6626 pw->pw_gid, getuid(), getgid(), geteuid(), getegid()); in switch_to_user() 6632 if (setuid (pw->pw_uid) < 0) in switch_to_user() 6644 pw->pw_uid, getuid(), getgid(), geteuid(), getegid()); in switch_to_user() 6939 struct passwd *pw; in check_system_password() local [all …]
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | ap.h | 76 const struct wpabuf *pw, const u8 *pubkey_hash);
|
/dragonfly/contrib/wpa_supplicant/src/ap/ |
H A D | wps_hostapd.c | 2044 struct wpabuf *pw; in hostapd_wps_nfc_token_enable() local 2062 pw = hapd->conf->wps_nfc_dev_pw; in hostapd_wps_nfc_token_enable() 2064 wpabuf_len(pw) * 2 + 1); in hostapd_wps_nfc_token_enable() 2068 wpabuf_len(pw) * 2), in hostapd_wps_nfc_token_enable() 2069 wpabuf_len(pw) * 2 + 1, in hostapd_wps_nfc_token_enable() 2070 wpabuf_head(pw), wpabuf_len(pw)); in hostapd_wps_nfc_token_enable()
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.c | 631 struct passwd *pw; in main() local 642 if ((pw = xgetpwuid(euid)) == NULL) in main() 645 setcopy(STReuser, str2short(pw->pw_name), VAR_READWRITE); in main() 657 else if ((pw = xgetpwuid(uid)) == NULL) in main() 660 setcopy(STRuser, str2short(pw->pw_name), VAR_READWRITE); in main()
|