Searched refs:pw_name (Results 51 - 75 of 243) sorted by relevance

12345678910

/netbsd-current/external/bsd/top/dist/
H A Dusername.c118 strncpy(data->name, pw->pw_name, MAXLOGNAME-1);
/netbsd-current/games/battlestar/
H A Dinit.c88 return strdup(ptr->pw_name);
/netbsd-current/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_cache.c89 (void) strlcpy(User_cache[0].cuname, p->pw_name,
/netbsd-current/lib/libc/posix1e/
H A Dacl_id_to_name.c78 i = snprintf(buf, buf_len, "%s", p->pw_name);
/netbsd-current/external/bsd/openpam/dist/lib/libpam/
H A Dopenpam_borrow_cred.c102 if (initgroups(pwd->pw_name, pwd->pw_gid) < 0 ||
/netbsd-current/usr.sbin/lastlogin/
H A Dlastlogin.c242 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 Dhomedir.c56 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 Dpam_group.c113 if (strcmp(*list, pwd->pw_name) == 0)
160 PASSWORD_PROMPT, pwd->pw_name);
/netbsd-current/libexec/utmp_update/
H A Dutmp_update.c131 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 Dmain.c102 strlcpy(myname, pw->pw_name, sizeof(myname));
/netbsd-current/include/
H A Dpwd.h108 __aconst char *pw_name; /* user name */ member in struct:passwd
/netbsd-current/usr.bin/talk/
H A Dget_names.c75 my_name = pw->pw_name;
/netbsd-current/usr.bin/from/
H A Dfrom.c107 _PATH_MAILDIR, pwd->pw_name);
/netbsd-current/libexec/httpd/
H A Dtilde-luzah-bozo.c98 pw->pw_name, pw->pw_dir, httpd->public_html,
/netbsd-current/libexec/atrun/
H A Datrun.c126 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 Dcommon.c213 "%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 Dk5login.c350 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 Ddrop_privs.c80 if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
/netbsd-current/games/snake/snscore/
H A Dsnscore.c105 q = p -> pw_name;
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Duser.c84 user = (pwd != NULL ? pwd->pw_name : NULL);
/netbsd-current/usr.bin/resize/
H A Dresize.h88 #define OkPasswd(pw) *((pw)->pw_name)
/netbsd-current/usr.bin/chpass/
H A Dedit.c101 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 Dpwd_mkdb.c438 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 Dlocal_passwd.c70 (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 Dpam_unix.c301 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) {

Completed in 256 milliseconds

12345678910