Home | History | Annotate | Download | only in dropbear

Lines Matching refs:username

235 logininfo *login_alloc_entry(int pid, const char *username,
241 (void)login_init_entry(newli, pid, username, hostname, line);
263 login_init_entry(struct logininfo *li, int pid, const char *username,
276 if (username) {
277 strlcpy(li->username, username, sizeof(li->username));
278 pw = getpwnam(li->username);
281 li->username);
539 strncpy(ut->ut_name, li->username, MIN_SIZEOF(ut->ut_name, li->username));
610 strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username));
963 * username on a given tty line. However, some systems (HP-UX is one)
966 * Since we're only looking for logins here, we know that the username
972 * it's possible that some systems may both leave the username in
980 if (strncmp(li->username, ut->ut_name,
981 MIN_SIZEOF(li->username, ut->ut_name)) == 0) {
1135 if ( strncmp(li->username, utx->ut_name,
1136 MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) {
1184 /* Logouts are recorded as a blank username on a particular line.
1185 * So, we just need to find the username in struct utmpx */
1329 LASTLOG_FILE, li->username);