Home
last modified time | relevance | path

Searched refs:pw_dir (Results 1 – 25 of 26) sorted by relevance

12

/external/openssh/
Dauth-rhosts.c219 pw->pw_dir, rhosts_files[rhosts_file_index]); in auth_rhosts2_raw()
251 if (stat(pw->pw_dir, &st) < 0) { in auth_rhosts2_raw()
253 "no home directory %.200s", pw->pw_name, pw->pw_dir); in auth_rhosts2_raw()
255 "no home directory %.200s", pw->pw_name, pw->pw_dir); in auth_rhosts2_raw()
275 pw->pw_dir, rhosts_files[rhosts_file_index]); in auth_rhosts2_raw()
Dauth.c340 file = percent_expand(filename, "h", pw->pw_dir, in expand_authorized_keys()
350 i = snprintf(ret, sizeof(ret), "%s/%s", pw->pw_dir, file); in expand_authorized_keys()
439 if (realpath(pw->pw_dir, homedir) != NULL) in secure_filename()
701 fake.pw_dir = "/nonexist"; in fakepw()
Dmisc.c223 copy->pw_dir = xstrdup(pw->pw_dir); in pwcopy()
541 if (strlcpy(ret, pw->pw_dir, sizeof(ret)) >= sizeof(ret)) in tilde_expand_filename()
545 len = strlen(pw->pw_dir); in tilde_expand_filename()
546 if ((len == 0 || pw->pw_dir[len - 1] != '/') && in tilde_expand_filename()
Dsession.c932 snprintf(buf, sizeof(buf), "%.200s/.hushlogin", pw->pw_dir); in check_quietlogin()
1170 child_set_env(&env, &envsize, "HOME", pw->pw_dir); in do_setup_env()
1301 strcmp(pw->pw_dir, "/") ? pw->pw_dir : ""); in do_setup_env()
1511 chroot_path = percent_expand(tmp, "h", pw->pw_dir, in do_setusercontext()
1729 if (k_afs_cell_of_file(pw->pw_dir, cell, sizeof(cell)) == 0) in do_child()
1734 s->authctxt->krb5_fwd_ccache, NULL, NULL, pw->pw_dir); in do_child()
1739 if (chdir(pw->pw_dir) < 0) { in do_child()
1747 "directory %s: %s\n", pw->pw_dir, in do_child()
Dssh.c704 r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, in main()
749 options.local_command = percent_expand(cp, "d", pw->pw_dir, in main()
887 r = snprintf(buf, sizeof buf, "%s%s%s", pw->pw_dir, in main()
888 strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); in main()
1518 pwdir = xstrdup(pw->pw_dir); in load_public_identity_files()
Dssh-add.c466 snprintf(buf, sizeof(buf), "%s/%s", pw->pw_dir, in main()
Dssh-keygen.c226 snprintf(identity_file, sizeof(identity_file), "%s/%s", pw->pw_dir, name); in ask_filename()
2260 pw->pw_dir, _PATH_SSH_USER_DIR); in main()
Dmonitor_wrap.c268 pw->pw_dir = buffer_get_string(&m, NULL); in mm_getpwnamallow()
Dmonitor.c770 buffer_put_cstring(m, pwent->pw_dir); in mm_answer_pwnamallow()
/external/dropbear/
Dsvr-authpubkey.c181 len = strlen(ses.authstate.pw->pw_dir); in checkpubkey()
186 ses.authstate.pw->pw_dir); in checkpubkey()
269 if (ses.authstate.pw->pw_dir == NULL) { in checkpubkeyperms()
273 if ((len = strlen(ses.authstate.pw->pw_dir)) == 0) { in checkpubkeyperms()
280 strncpy(filename, ses.authstate.pw->pw_dir, len+1); in checkpubkeyperms()
Dsvr-chansession.c798 len = strlen(ses.authstate.pw->pw_dir) + 11; in ptycommand()
801 snprintf(hushpath, len, "%s/hushlogin", ses.authstate.pw->pw_dir); in ptycommand()
942 addnewvar("HOME", ses.authstate.pw->pw_dir); in execchild()
949 if (chdir(ses.authstate.pw->pw_dir) < 0) { in execchild()
Dcli-kex.c161 homedir = pw->pw_dir; in open_known_hosts_file()
/external/e2fsprogs/include/nonunix/
Dpwd.h17 char *pw_dir; member
/external/dbus/tools/
Ddbus-launch-x11.c78 home = user->pw_dir; in get_homedir()
/external/libppp/src/
Dsystems.c152 strncpy(to, pwd->pw_dir, endto - to); in InterpretArg()
/external/openssh/openbsd-compat/
Dglob.c384 h = pwd->pw_dir;
393 h = pwd->pw_dir;
/external/e2fsprogs/e2fsck/
Dprofile.c482 && pw != NULL && pw->pw_dir[0] != 0) in profile_open_file()
483 home_env = pw->pw_dir; in profile_open_file()
488 home_env = pw->pw_dir; in profile_open_file()
/external/chromium/third_party/libjingle/source/talk/base/
Dunixfilesystem.cc422 homedir = pw->pw_dir; in GetAppDataFolder()
/external/openssh/contrib/cygwin/
DREADME166 value of the pw_dir field in /etc/passwd as the home directory.
/external/webkit/Tools/android/flex-2.5.4a/MISC/MVS/
DMVS.uudecode172 X strcpy(dnbuf, user->pw_dir);
/external/dbus/dbus/
Ddbus-sysdeps-unix.c1924 _dbus_assert (p->pw_dir != NULL); in fill_user_info_from_passwd()
1929 info->homedir = _dbus_strdup (p->pw_dir); in fill_user_info_from_passwd()
/external/ppp/pppd/
Doptions.c468 if (pw == NULL || (user = pw->pw_dir) == NULL || user[0] == 0) in options_from_user()
Deap.c1203 if (pw == NULL || (user = pw->pw_dir) == NULL || user[0] == 0) { in name_of_pn_file()
/external/mksh/src/
Deval.c1625 strdupx(ap->val.s, pw->pw_dir, APERM); in homedir()
/external/sqlite/dist/
Dshell.c2626 home_dir = pwent->pw_dir; in find_home_dir()

12