/netbsd-current/usr.bin/at/ |
H A D | perm.c | 106 return check_for_user(fp, pentry->pw_name); 115 return !check_for_user(fp, pentry->pw_name);
|
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
H A D | getlog.c | 91 p = pwd.pw_name; 96 p = pw->pw_name;
|
/netbsd-current/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
H A D | getlog.c | 91 p = pwd.pw_name; 96 p = pw->pw_name;
|
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | auth.c | 108 if (!pw || !pw->pw_name) 192 pw->pw_name); 199 pw->pw_name); 207 pw->pw_name); 231 "does not exist", pw->pw_name, shell); 238 "is not executable", pw->pw_name, shell); 259 r = match_user(pw->pw_name, hostname, ipaddr, 267 pw->pw_name, hostname); 275 r = match_user(pw->pw_name, hostname, ipaddr, 286 "not listed in AllowUsers", pw->pw_name, hostnam [all...] |
H A D | auth2-pubkeyfile.c | 114 loc, pw->pw_name, remote_host, remote_ip, 138 "address (%.200s).", loc, pw->pw_name, remote_ip); 378 keyopts->cert_principals == NULL ? pw->pw_name : NULL, 437 debug("[LDAP] trying LDAP first uid=%s",pw->pw_name); 438 if (ldap_ismember(&options.lpk, pw->pw_name) > 0) { 439 if ((k = ldap_getuserkey(&options.lpk, pw->pw_name)) != NULL) { 493 logit("[LDAP] no keys found for '%s'!", pw->pw_name); 496 logit("[LDAP] '%s' is not in '%s'", pw->pw_name, options.lpk.sgroup); 539 pw->pw_name, file_type, file, strerror(errno)); 542 pw->pw_name, file_typ [all...] |
H A D | uidswap.c | 75 if (initgroups(pw->pw_name, pw->pw_gid) == -1) 76 fatal("initgroups: %s: %.100s", pw->pw_name,
|
/netbsd-current/external/bsd/kyua-cli/dist/utils/ |
H A D | passwd.cpp | 131 INV(pw->pw_name == name); 132 return user(pw->pw_name, pw->pw_uid, pw->pw_gid); 161 return user(pw->pw_name, pw->pw_uid, pw->pw_gid);
|
H A D | passwd_test.cpp | 99 const passwd_ns::user user = passwd_ns::find_user_by_name(pw->pw_name); 102 ATF_REQUIRE_EQ(pw->pw_name, user.name); 142 ATF_REQUIRE_EQ(pw->pw_name, user.name);
|
/netbsd-current/usr.bin/calendar/ |
H A D | calendar.c | 188 warn("%s: setegid", pw->pw_name); 192 warn("%s: seteuid", pw->pw_name); 199 warn("%s: seteuid back to 0", pw->pw_name); 529 warn("%s: %s", pw->pw_name, pathname); 549 warn("%s: %s: FIONBIO", pw->pw_name, pathname); 603 header[1].iov_base = header[3].iov_base = (void *)pw->pw_name; 604 header[1].iov_len = header[3].iov_len = strlen(pw->pw_name); 631 pw->pw_name); 635 pw->pw_name, (int)gid); 637 if (initgroups(pw->pw_name, gi [all...] |
/netbsd-current/lib/libc/gen/ |
H A D | pw_scan.c | 155 if (!(pw->pw_name = strsep(&bp, ":"))) /* login */ 157 if (strlen(pw->pw_name) > (LOGIN_NAME_MAX - 1)) { 159 warnx("username too long, `%s' > %d", pw->pw_name, 164 root = !strcmp(pw->pw_name, "root");
|
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | user_acl.c | 106 name = mypwd->pw_name;
|
/netbsd-current/external/bsd/libarchive/dist/cpio/ |
H A D | cpio_windows.h | 48 char *pw_name; member in struct:passwd
|
/netbsd-current/lib/libpam/modules/pam_securetty/ |
H A D | pam_securetty.c | 112 pwd->pw_name, (const char *)hostname, 117 pwd->pw_name, (const char *)tty);
|
/netbsd-current/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 99 if (strlen(p->pw_name) >= sizeof(luser)) 101 strlcpy(luser, p->pw_name, sizeof(luser));
|
/netbsd-current/usr.bin/passwd/ |
H A D | pam_passwd.c | 81 const char *const i_username = (i_pwd && i_pwd->pw_name) 82 ? i_pwd->pw_name : "(null)";
|
/netbsd-current/usr.bin/finger/ |
H A D | util.c | 109 if (!strcasecmp(pw->pw_name, user)) 118 expandusername(p, pw->pw_name, name, sizeof(name)); 259 key.data = (char *)pw->pw_name; 260 key.size = strlen(pw->pw_name); 406 pn->name = strdup(pw->pw_name); 415 expandusername(p, pw->pw_name, name, sizeof(name)); 424 pw->pw_name);
|
/netbsd-current/external/bsd/cron/dist/ |
H A D | do_command.c | 381 e->pwd->pw_name); 386 e->pwd->pw_name); 397 e->pwd->pw_name); 416 e->pwd->pw_gid, e->pwd->pw_name); 421 usernm, e->pwd->pw_gid, e->pwd->pw_name); 427 usernm, e->pwd->pw_name); 438 e->pwd->pw_uid, e->pwd->pw_name); 446 homedir, e->pwd->pw_name); 503 usernm = e->pwd->pw_name;
|
/netbsd-current/external/bsd/libbind/dist/irs/ |
H A D | irp_pw.c | 184 if (pw->pw_name != NULL && strcmp(name, pw->pw_name) == 0) { 232 if (pw->pw_name != NULL && pw->pw_uid == uid) { 320 if (pw->pw_name != NULL) 321 free(pw->pw_name);
|
H A D | getpwent_r.c | 208 len = strlen(pw->pw_name) + 1; 235 n = strlen(pw->pw_name) + 1; 236 strcpy(cp, pw->pw_name); 237 pwptr->pw_name = cp;
|
/netbsd-current/usr.bin/chpass/ |
H A D | pw_yp.c | 161 yppw.newpw.pw_name = strdup(pw->pw_name); 162 if (!yppw.newpw.pw_name) {
|
/netbsd-current/usr.bin/newgrp/ |
H A D | newgrp.c | 120 if (initgroups(pwd->pw_name, pwd->pw_gid) == -1) 181 (void)setenv("LOGNAME", pwd->pw_name, 1); 182 (void)setenv("USER", pwd->pw_name, 1);
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | getxxyyy.c | 75 APPEND(pw_name); 77 APPEND(pw_name); 149 printf("%s\n", p->pw_name);
|
/netbsd-current/libexec/rexecd/ |
H A D | rexecd.c | 324 setlogin(pwd->pw_name) < 0 || 325 initgroups(pwd->pw_name, pwd->pw_gid) < 0 || 344 (void)pam_setenv(pamh, "USER", pwd->pw_name, 1); 345 (void)pam_setenv(pamh, "LOGNAME", pwd->pw_name, 1); 360 (void)strlcat(username, pwd->pw_name, sizeof(username)); 361 (void)strlcat(logname, pwd->pw_name, sizeof(logname));
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-passwd/ |
H A D | search.c | 291 * from pw we get pw_name and make it cn 295 pwlen = strlen( pw->pw_name ); 301 pw->pw_name, be->be_suffix[0].bv_val ); 321 val.bv_val = pw->pw_name; 357 memcpy( d, pw->pw_name, pwlen ); 358 *d = TOUPPER((unsigned char)*pw->pw_name); 374 if ( val.bv_len && strcasecmp( val.bv_val, pw->pw_name ) ) {
|
/netbsd-current/games/sail/ |
H A D | lo_main.c | 105 "%10.10s (%s)", log.l_name, pass->pw_name); 147 "%10.10s (%s)", log.l_name, pass->pw_name);
|