Lines Matching defs:username
92 *username = NULL, *pk_service = NULL;
114 if (username || target_host)
116 username = optarg;
119 if (username || target_host)
128 if (optind < argc || (username == 0 && target_host == 0)) {
141 if (username) {
142 pw = getpwnam(username);
145 program_name, username);
153 program_name, username);
160 program_name, username);
168 program_name, username);
205 pass = get_password(uid, target_host, username);
303 "usage:\t%s -u username [-s ldap | nis | files]\n",
315 * (a) username is null
321 * (a) username is non-null
322 * (b) target_host is null in all cases except when username is root;
324 * (c) uid is set to the username's uid
325 * (d) the login password of the user <username> is returned
328 get_password(uid, target_host, username)
331 char *username;
341 if ((username != 0) ||
345 * "-u username" or "-h localhost" was specified on the