Searched refs:user_pw (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | sftp-server-main.c | 40 struct passwd *user_pw; in main() local 45 if ((user_pw = getpwuid(getuid())) == NULL) { in main() 51 return (sftp_server_main(argc, argv, user_pw)); in main()
|
H A D | auth2-pubkey.c | 375 "u", user_pw->pw_name, (char *)NULL); in match_principals_command() 416 (unsigned long long)user_pw->pw_uid); in match_principals_command() 422 "u", user_pw->pw_name, in match_principals_command() 423 "h", user_pw->pw_dir, in match_principals_command() 616 user_key_command_allowed2(struct passwd *user_pw, struct sshkey *key, in user_key_command_allowed2() argument 646 "u", user_pw->pw_name, (char *)NULL); in user_key_command_allowed2() 677 (unsigned long long)user_pw->pw_uid); in user_key_command_allowed2() 683 "u", user_pw->pw_name, in user_key_command_allowed2() 684 "h", user_pw->pw_dir, in user_key_command_allowed2() 704 av[1] = xstrdup(user_pw->pw_name); in user_key_command_allowed2() [all …]
|
H A D | sftp-server.c | 1701 struct passwd *user_pw; in process_extended_home_directory() local 1709 if ((user_pw = getpwnam(username)) == NULL) { in process_extended_home_directory() 1725 struct passwd *user_pw; in process_extended_get_users_groups_by_id() local 1744 user_pw = getpwuid((uid_t)n); in process_extended_get_users_groups_by_id() 1745 name = user_pw == NULL ? "" : user_pw->pw_name; in process_extended_get_users_groups_by_id() 1902 sftp_server_main(int argc, char **argv, struct passwd *user_pw) in sftp_server_main() argument 1916 pw = pwcopy(user_pw); in sftp_server_main() 1956 cp = tilde_expand_filename(optarg, user_pw->pw_uid); in sftp_server_main() 1959 homedir = percent_expand(cp, "d", user_pw->pw_dir, in sftp_server_main() 1960 "u", user_pw->pw_name, "U", uidstr, (char *)NULL); in sftp_server_main()
|