Searched refs:pw_name (Results 1 - 25 of 243) sorted by last modified time

12345678910

/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dprivsep.c130 logdebugx("chrooting as %s to %s", pw->pw_name, pw->pw_dir);
/netbsd-current/usr.bin/passwd/
H A Dyp_passwd.c92 (void)printf("Changing NIS password for %s.\n", pw->pw_name);
159 ypp->newpw.pw_name = estrdup(pw->pw_name);
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/libc/gen/
H A Dpwcache.c312 return (pw->pw_name);
314 (void)strlcpy(ptr->name, pw->pw_name, UNMLEN);
H A Dgetpwent.c278 EXPAND(pw->pw_name);
351 useproto = protopw && protopw->pw_name;
368 COPYFIELD(pw_name);
512 if (pw->pw_name[0] == '+' || pw->pw_name[0] == '-') {
527 (search == _PW_KEYBYNAME && strcmp(pw->pw_name, name) != 0))
1076 if (rv == NS_SUCCESS && strcmp(name, _dns_passwd.pw_name) == 0)
1107 if (strcmp(name, pw->pw_name) == 0) {
1246 pw->pw_name, (int)strlen(pw->pw_name),
[all...]
/netbsd-current/libexec/httpd/
H A Dbozohttpd.c2683 if (initgroups(pw->pw_name, pw->pw_gid) == -1)
/netbsd-current/usr.sbin/mtree/
H A Dcreate.c120 user = (pw = getpwuid(getuid())) != NULL ? pw->pw_name :
H A Dspecspec.c86 printf(" uname=%s", pw->pw_name);
/netbsd-current/bin/csh/
H A Dfile.c449 return (str2short(pw->pw_name));
/netbsd-current/lib/libedit/
H A Dreadline.c1906 && text[0] == pass->pw_name[0]
1907 && strcmp(text, pass->pw_name) == 0)
1914 return strdup(pass->pw_name);
/netbsd-current/usr.bin/stat/
H A Dstat.c763 sdata = pw->pw_name;
/netbsd-current/external/mpl/bind/dist/bin/named/
H A Dos.c439 if (initgroups(runas_pw->pw_name, runas_pw->pw_gid) < 0) {
/netbsd-current/usr.bin/ftp/
H A Dmain.c484 localname = ftp_strdup(pw->pw_name);
/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/lib/libc/posix1e/
H A Dacl_to_text_nfs4.c82 snprintf(str, size, "user:%s", pwd->pw_name);
/netbsd-current/lib/libc/net/
H A Drcmd.c704 (void)initgroups(pwd->pw_name, pwd->pw_gid);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsshconnect.c1605 local_user = xstrdup(pw->pw_name);
H A Dssh.c1283 options.user = xstrdup(pw->pw_name);
1426 cinfo->locuser = xstrdup(pw->pw_name);
H A Dservconf.c1171 } else if (ga_init(pw->pw_name, pw->pw_gid) == 0) {
H A Dreadconf.c695 ruser = options->user == NULL ? pw->pw_name : options->user;
776 criteria = xstrdup(pw->pw_name);
777 r = match_pattern_list(pw->pw_name, arg, 0) == 1;
823 "u", pw->pw_name,
H A Dmonitor_wrap.c296 if ((r = sshbuf_get_cstring(m, &pw->pw_name, NULL)) != 0 ||
H A Dmisc.c457 copy->pw_name = xstrdup(pw->pw_name);
2644 tag, command, pw->pw_name, flags);
2700 child_set_env(&env, &nenv, "USER", pw->pw_name);
2701 child_set_env(&env, &nenv, "LOGNAME", pw->pw_name);
2738 initgroups(pw->pw_name, pw->pw_gid) == -1) {
2740 pw->pw_name, (u_int)pw->pw_gid, strerror(errno));
H A Dssh-keygen.c350 pw->pw_name, hostname);
1098 snprintf(comment, sizeof comment, "%s@%s", pw->pw_name,
3882 snprintf(comment, sizeof comment, "%s@%s", pw->pw_name, hostname);
H A Dsftp-server.c1718 name = user_pw == NULL ? "" : user_pw->pw_name;
1791 client_addr, pw->pw_name);
1855 pw->pw_name, client_addr);
1932 "u", user_pw->pw_name, "U", uidstr, (char *)NULL);
1973 pw->pw_name, client_addr);
H A Dsession.c328 setproctitle("%s", authctxt->pw->pw_name);
692 s->pw->pw_name,
747 record_login(pid, s->tty, pw->pw_name, pw->pw_uid,
925 child_set_env(&env, &envsize, "USER", pw->pw_name);
926 child_set_env(&env, &envsize, "LOGNAME", pw->pw_name);
933 snprintf(buf, sizeof buf, "%.200s/%.50s", _PATH_MAILDIR, pw->pw_name);
1152 logit("User %.100s not allowed because %s exists", pw->pw_name, nl);
1236 if (setlogin(pw->pw_name) < 0)
1243 if (initgroups(pw->pw_name, pw->pw_gid) < 0) {
1266 "u", pw->pw_name, "
[all...]

Completed in 578 milliseconds

12345678910