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

12345

/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/
H A Dibcs2_pwd.h44 char *pw_dir; member in struct:ibcs2_passwd
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/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-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmypwd.h26 char *pw_dir; member in struct:mypasswd
H A Dmypwd.c95 mypwd->pw_dir = mystrdup(pwd->pw_dir);
188 myfree(mypwd->pw_dir);
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dcompat_pwd.h56 char *pw_dir; member in struct:passwd
/netbsd-6-1-5-RELEASE/lib/librpcsvc/
H A Dyppasswd.x50 string pw_dir<>; /* home directory */
/netbsd-6-1-5-RELEASE/libexec/httpd/
H A Dtilde-luzah-bozo.c84 pw->pw_name, pw->pw_dir, httpd->public_html,
87 if (chdir(pw->pw_dir) < 0) {
88 bozo_warn(httpd, "chdir1 error: %s: %s", pw->pw_dir,
128 pw->pw_dir));
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/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-6-1-5-RELEASE/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-6-1-5-RELEASE/dist/nvi/ex/
H A Dex_cd.c66 pw->pw_dir == NULL || pw->pw_dir[0] == '\0') {
71 dir = pw->pw_dir;
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/misc/
H A Dcvsuser.c36 pw.pw_dir = "/";
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dinfo_passwd.c128 dir = strdup(pw->pw_dir);
181 dir+1, rhost, user, pw->pw_dir, p);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dauth-rhosts.c218 pw->pw_dir, rhosts_files[rhosts_file_index]);
250 if (stat(pw->pw_dir, &st) < 0) {
252 "no home directory %.200s", pw->pw_name, pw->pw_dir);
254 "no home directory %.200s", pw->pw_name, pw->pw_dir);
274 pw->pw_dir, rhosts_files[rhosts_file_index]);
/netbsd-6-1-5-RELEASE/usr.bin/chpass/
H A Dpw_yp.c178 yppw.newpw.pw_dir = strdup(pw->pw_dir);
179 if (!yppw.newpw.pw_dir) {
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/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-6-1-5-RELEASE/external/bsd/am-utils/dist/hlfsd/
H A Dhomedir.c60 static char pw_name[16], pw_dir[128]; variable
451 passwd_ent.pw_dir = (char *) &pw_dir;
495 pw_name[0] = pw_dir[0] = '\0';
534 /* pw_dir will show up in passwd_ent.pw_dir */
535 xstrlcpy(pw_dir, cp, sizeof(pw_dir));
540 passwd_ent.pw_name, (long) passwd_ent.pw_uid, passwd_ent.pw_dir);
561 table_add(pent_p->pw_uid, pent_p->pw_dir, pent_
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/
H A Dcompat_getpwent.c91 q->pw_dir = p->pw_dir;
/netbsd-6-1-5-RELEASE/usr.bin/uudecode/
H A Duudecode.c179 n = strlen(pw->pw_dir);
187 memmove(buf, pw->pw_dir, n);
/netbsd-6-1-5-RELEASE/include/
H A Dpwd.h115 __aconst char *pw_dir; /* home directory */ member in struct:passwd
/netbsd-6-1-5-RELEASE/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-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-new-session.c150 if (pw->pw_dir != NULL && *pw->pw_dir != '\0')
151 cwd = pw->pw_dir;
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/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);

Completed in 314 milliseconds

12345