Searched refs:user_pw (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | sftp-server-main.c | 40 struct passwd *user_pw; in main() local 47 if ((user_pw = getpwuid(getuid())) == NULL) { in main() 53 return (sftp_server_main(argc, argv, user_pw)); in main()
|
D | auth2-pubkey.c | 436 match_principals_command(struct ssh *ssh, struct passwd *user_pw, in match_principals_command() argument 468 "u", user_pw->pw_name, (char *)NULL); in match_principals_command() 508 (unsigned long long)user_pw->pw_uid); in match_principals_command() 512 "u", user_pw->pw_name, in match_principals_command() 513 "h", user_pw->pw_dir, in match_principals_command() 877 user_key_command_allowed2(struct ssh *ssh, struct passwd *user_pw, in user_key_command_allowed2() argument 906 "u", user_pw->pw_name, (char *)NULL); in user_key_command_allowed2() 937 (unsigned long long)user_pw->pw_uid); in user_key_command_allowed2() 941 "u", user_pw->pw_name, in user_key_command_allowed2() 942 "h", user_pw->pw_dir, in user_key_command_allowed2() [all …]
|
D | sftp-server.c | 1567 sftp_server_main(int argc, char **argv, struct passwd *user_pw) in sftp_server_main() argument 1582 pw = pwcopy(user_pw); in sftp_server_main() 1622 cp = tilde_expand_filename(optarg, user_pw->pw_uid); in sftp_server_main() 1625 homedir = percent_expand(cp, "d", user_pw->pw_dir, in sftp_server_main() 1626 "u", user_pw->pw_name, "U", uidstr, (char *)NULL); in sftp_server_main()
|