/netbsd-current/external/bsd/top/dist/ |
H A D | username.c | 118 strncpy(data->name, pw->pw_name, MAXLOGNAME-1);
|
/netbsd-current/games/battlestar/ |
H A D | init.c | 88 return strdup(ptr->pw_name);
|
/netbsd-current/usr.sbin/rpc.pcnfsd/ |
H A D | pcnfsd_cache.c | 89 (void) strlcpy(User_cache[0].cuname, p->pw_name,
|
/netbsd-current/lib/libc/posix1e/ |
H A D | acl_id_to_name.c | 78 i = snprintf(buf, buf_len, "%s", p->pw_name);
|
/netbsd-current/external/bsd/openpam/dist/lib/libpam/ |
H A D | openpam_borrow_cred.c | 102 if (initgroups(pwd->pw_name, pwd->pw_gid) < 0 ||
|
/netbsd-current/usr.sbin/lastlogin/ |
H A D | lastlogin.c | 242 warnx("fread error on '%s'", passwd->pw_name); 259 p.pw_name = n; 280 (void)strlcpy(o.o_name, p->pw_name, sizeof(o.o_name)); 325 warnx("User `%s' not found", passwd->pw_name); 328 warn("Error looking up `%s'", passwd->pw_name); 374 p.pw_name = n; 405 (void)strlcpy(o.o_name, p->pw_name, sizeof(o.o_name));
|
/netbsd-current/external/bsd/am-utils/dist/hlfsd/ |
H A D | homedir.c | 56 static char pw_name[16], pw_dir[128]; variable 446 passwd_ent.pw_name = (char *) &pw_name; 491 pw_name[0] = pw_dir[0] = '\0'; 507 /* pw_name will show up in passwd_ent.pw_name */ 508 xstrlcpy(pw_name, cp, sizeof(pw_name)); 537 passwd_ent.pw_name, (long) passwd_ent.pw_uid, passwd_ent.pw_dir); 558 table_add(pent_p->pw_uid, pent_p->pw_dir, pent_p->pw_name); [all...] |
/netbsd-current/lib/libpam/modules/pam_group/ |
H A D | pam_group.c | 113 if (strcmp(*list, pwd->pw_name) == 0) 160 PASSWORD_PROMPT, pwd->pw_name);
|
/netbsd-current/libexec/utmp_update/ |
H A D | utmp_update.c | 131 if (strcmp(pwd->pw_name, utx->ut_name) != 0) 133 "`%s' in utmpx entry", pwd->pw_name, utx->ut_name);
|
/netbsd-current/games/sail/ |
H A D | main.c | 102 strlcpy(myname, pw->pw_name, sizeof(myname));
|
/netbsd-current/include/ |
H A D | pwd.h | 108 __aconst char *pw_name; /* user name */ member in struct:passwd
|
/netbsd-current/usr.bin/talk/ |
H A D | get_names.c | 75 my_name = pw->pw_name;
|
/netbsd-current/usr.bin/from/ |
H A D | from.c | 107 _PATH_MAILDIR, pwd->pw_name);
|
/netbsd-current/libexec/httpd/ |
H A D | tilde-luzah-bozo.c | 98 pw->pw_name, pw->pw_dir, httpd->public_html,
|
/netbsd-current/libexec/atrun/ |
H A D | atrun.c | 126 if (initgroups(pentry->pw_name, pentry->pw_gid) == -1) 127 perr("Cannot init group list for `%s'", pentry->pw_name); 136 if (setlogin(pentry->pw_name) == -1) 137 perr("Cannot set login name to `%s'", pentry->pw_name);
|
/netbsd-current/usr.bin/login/ |
H A D | common.c | 213 "%s", nested, pwd->pw_name, tty, hname, assbuf); 216 pwd->pw_name, tty); 220 pwd->pw_name, tty, hname, assbuf); 223 pwd->pw_name, tty);
|
H A D | k5login.c | 350 if (strcmp(pw->pw_name, "root") == 0 || 372 asprintf(&principal, "%s/%s", pw->pw_name, instance); 374 principal = strdup(pw->pw_name);
|
/netbsd-current/external/bsd/pam-u2f/dist/ |
H A D | drop_privs.c | 80 if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
|
/netbsd-current/games/snake/snscore/ |
H A D | snscore.c | 105 q = p -> pw_name;
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/ |
H A D | user.c | 84 user = (pwd != NULL ? pwd->pw_name : NULL);
|
/netbsd-current/usr.bin/resize/ |
H A D | resize.h | 88 #define OkPasswd(pw) *((pw)->pw_name)
|
/netbsd-current/usr.bin/chpass/ |
H A D | edit.c | 101 use_yp ? "YP " : "", pw->pw_name); 103 (void)fprintf(fp, "Login: %s\n", pw->pw_name); 216 pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid, pw->pw_class,
|
/netbsd-current/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 438 pwd.pw_name, pwd.pw_uid, pwd.pw_gid, pwd.pw_gecos, 446 if (pwd.pw_name[0] == '+' || pwd.pw_name[0] == '-') 450 if (pwd.pw_name[0] == '+') { 466 } else if (strcmp(username, pwd.pw_name) != 0) 483 } else if (rv == 1 || strcmp(username, tpwd->pw_name) != 0) 492 if (strcmp(username, tpwd->pw_name) == 0) { 508 if (strcmp(username, tpwd->pw_name) != 0) 798 * the data for three separate keys. The first key * is the pw_name field 853 COMPACT(pwd.pw_name); [all...] |
/netbsd-current/usr.bin/passwd/ |
H A D | local_passwd.c | 70 (void)printf("Changing local password for %s.\n", pw->pw_name); 79 pw->pw_name, (unsigned long)uid, pw->pw_name);
|
/netbsd-current/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 301 if ((yppwd.newpw.pw_name = strdup(pwd->pw_name)) == NULL) 339 if (yppwd.newpw.pw_name != NULL) 340 free(yppwd.newpw.pw_name); 388 if (pw_mkdb(pwd->pw_name, opwd->pw_change == pwd->pw_change) < 0) {
|