Searched refs:pw_dir (Results 1 - 25 of 143) sorted by relevance

123456

/netbsd-current/external/gpl2/gettext/dist/djgpp/
H A Dgetpwnam.c29 rv.pw_dir = getenv("HOME");
30 if (rv.pw_dir == 0)
31 rv.pw_dir = slash;
H A Ddjpwd.h30 char * pw_dir; /* Home directory. */ member in struct:passwd
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmypwd.h26 char *pw_dir; member in struct:mypasswd
H A Dmypwd.c149 mypwd->pw_dir = mystrdup(pwd->pw_dir);
311 myfree(mypwd->pw_dir);
/netbsd-current/tools/compat/
H A Dcompat_pwd.h56 char *pw_dir; member in struct:passwd
/netbsd-current/lib/librpcsvc/
H A Dyppasswd.x50 string pw_dir<>; /* home directory */
/netbsd-current/lib/libpam/modules/pam_chroot/
H A Dpam_chroot.c74 if (pwd->pw_dir == NULL)
76 if ((end = strstr(pwd->pw_dir, "/./")) != NULL) {
78 (int)(end - pwd->pw_dir), pwd->pw_dir) > (int)sizeof(buf)) {
/netbsd-current/libexec/httpd/
H A Dtilde-luzah-bozo.c98 pw->pw_name, pw->pw_dir, httpd->public_html,
101 if (chdir(pw->pw_dir) < 0) {
102 bozowarn(httpd, "chdir1 error: %s: %s", pw->pw_dir,
126 pw->pw_dir));
/netbsd-current/external/bsd/cron/dist/
H A Dpw_dup.c89 if (pw->pw_dir) {
90 dsize = strlen(pw->pw_dir) + 1;
131 if (pw->pw_dir) {
132 (void)memcpy(cp, pw->pw_dir, dsize);
133 newpw->pw_dir = cp;
/netbsd-current/lib/libc/compat/include/
H A Dpwd.h19 __aconst char *pw_dir; /* home directory */ member in struct:passwd50
35 q->pw_dir = p->pw_dir;
50 q->pw_dir = p->pw_dir;
/netbsd-current/external/bsd/nvi/dist/ex/
H A Dex_cd.c70 pw->pw_dir == NULL || pw->pw_dir[0] == '\0') {
75 dir = pw->pw_dir;
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/misc/
H A Dcvsuser.c36 pw.pw_dir = "/";
/netbsd-current/external/bsd/am-utils/dist/amd/
H A Dinfo_passwd.c124 dir = xstrdup(pw->pw_dir);
177 dir+1, rhost, user, pw->pw_dir, p);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dauth-rhosts.c215 pw->pw_dir, rhosts_files[rhosts_file_index]);
260 if (stat(pw->pw_dir, &st) == -1) {
262 "no home directory %.200s", pw->pw_name, pw->pw_dir);
264 "no home directory %.200s", pw->pw_name, pw->pw_dir);
284 pw->pw_dir, rhosts_files[rhosts_file_index]);
/netbsd-current/usr.bin/chpass/
H A Dpw_yp.c178 yppw.newpw.pw_dir = strdup(pw->pw_dir);
179 if (!yppw.newpw.pw_dir) {
/netbsd-current/usr.bin/newgrp/
H A Dnewgrp.c155 if (chdir(pwd->pw_dir) == -1)
156 warn("%s", pwd->pw_dir);
183 (void)setenv("HOME", pwd->pw_dir, 1);
/netbsd-current/external/bsd/libbind/dist/irs/
H A Dgetpwent_r.c214 len += strlen(pw->pw_dir) + 1;
261 n = strlen(pw->pw_dir) + 1;
262 strcpy(cp, pw->pw_dir);
263 pwptr->pw_dir = cp;
/netbsd-current/external/bsd/pam-u2f/dist/
H A Dpam-u2f.c252 if (gpn_ret != 0 || pw == NULL || pw->pw_dir == NULL ||
253 pw->pw_dir[0] != '/') {
261 DBG("Home directory for %s is %s", user, pw->pw_dir);
277 authfile_dir_len = strlen(pw->pw_dir) + strlen(default_authfile_dir) +
290 snprintf(buf, authfile_dir_len, "%s%s%s", pw->pw_dir,
324 strlen(pw->pw_dir) + strlen("/") + strlen(cfg->auth_file) + 1;
333 snprintf(buf, authfile_dir_len, "%s/%s", pw->pw_dir, cfg->auth_file);
/netbsd-current/external/bsd/am-utils/dist/hlfsd/
H A Dhomedir.c56 static char pw_name[16], pw_dir[128]; variable
447 passwd_ent.pw_dir = (char *) &pw_dir;
491 pw_name[0] = pw_dir[0] = '\0';
531 /* pw_dir will show up in passwd_ent.pw_dir */
532 xstrlcpy(pw_dir, cp, sizeof(pw_dir));
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_
[all...]
/netbsd-current/lib/libc/compat/gen/
H A Dcompat_getpwent.c91 q->pw_dir = p->pw_dir;
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetxxyyy.c81 APPEND(pw_dir);
152 printf("%s\n", p->pw_dir);
/netbsd-current/include/
H A Dpwd.h115 __aconst char *pw_dir; /* home directory */ member in struct:passwd
/netbsd-current/libexec/rexecd/
H A Drexecd.c257 if (chdir(pwd->pw_dir) < 0) {
259 syslog(LOG_ERR, "%s does not exist for %s", pwd->pw_dir,
342 (void)pam_setenv(pamh, "HOME", pwd->pw_dir, 1);
358 (void)strlcat(homedir, pwd->pw_dir, sizeof(homedir));
/netbsd-current/external/gpl2/texinfo/dist/info/
H A Dtilde.c201 temp_home = entry->pw_dir;
253 temp_name = xmalloc (1 + strlen (user_entry->pw_dir)
255 strcpy (temp_name, user_entry->pw_dir);
/netbsd-current/usr.bin/login/
H A Dlogin_pam.c430 if (chdir(pwd->pw_dir) != 0) {
433 pwd->pw_dir);
438 (void)printf("No home directory %s!\n", pwd->pw_dir);
443 pwd->pw_dir = __UNCONST("/");
583 (void)setenv("HOME", pwd->pw_dir, 1);

Completed in 467 milliseconds

123456