| /freebsd/libexec/comsat/ |
| H A D | comsat.c | 132 if (utp->ut_type == USER_PROCESS && !strcmp(utp->ut_user, name)) in mailfor() 159 dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_user, tty); in notify() 162 dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_user, tty); in notify() 180 if ((p = getpwnam(utp->ut_user)) == NULL || in notify() 189 cr, utp->ut_user, (int)sizeof(hostname), hostname, in notify()
|
| /freebsd/usr.sbin/lastlogin/ |
| H A D | lastlogin.c | 65 return (order * strcmp(((const struct utmpx *)u1)->ut_user, in utcmp_user() 66 ((const struct utmpx *)u2)->ut_user)); in utcmp_user() 163 u->ut_user, u->ut_line, u->ut_host); in output()
|
| /freebsd/usr.bin/who/ |
| H A D | who.c | 185 printf("%-16s ", ut->ut_user); in row() 250 printf("%-16s", utx->ut_user); in quick() 290 strlcpy(ut.ut_user, name, sizeof ut.ut_user); in whoami()
|
| /freebsd/libexec/ftpd/ |
| H A D | logwtmp.c | |
| /freebsd/lib/libulog/ |
| H A D | ulog_login.c | 69 strlcpy(utx.ut_user, user, sizeof utx.ut_user); in ulog_login()
|
| /freebsd/crypto/heimdal/appl/login/ |
| H A D | utmpx_login.c | 39 strncpy(ut->ut_user, user, sizeof(ut->ut_user)); in utmpx_update()
|
| H A D | utmp_login.c | 96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user)); in prepare_utmp()
|
| /freebsd/usr.bin/finger/ |
| H A D | finger.c | 234 if ((pn = find_person(user->ut_user)) == NULL) { in loginlist() 235 if ((pw = getpwnam(user->ut_user)) == NULL) in loginlist() 377 if ((pn = find_person(user->ut_user)) == NULL) in userlist()
|
| /freebsd/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | sys_term.c | 1159 strncpy(wtmp.ut_user, "LOGIN", sizeof(wtmp.ut_user)); in startslave() 1299 strncpy(utmpx.ut_user, ".telnet", sizeof(utmpx.ut_user)); in start_login() 1437 user0 = utxp->ut_user[0]; in rmut() 1438 utxp->ut_user[0] = '\0'; in rmut() 1458 utxp->ut_user[0] = user0; in rmut() 1820 ret = jobend(utp->ut_jid, utp->ut_tpath, utp->ut_user); 1834 static char saved_user[sizeof(wtmp.ut_user)+1]; 1875 cleantmpdir(jid, utp->ut_tpath, utp->ut_user);
|
| /freebsd/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | logwtmp.c | 145 strncpy(utx.ut_user, name, sizeof(utx.ut_user)); in ftpd_logwtmp_wtmp()
|
| /freebsd/lib/libpam/modules/pam_lastlog/ |
| H A D | pam_lastlog.c | 137 strncpy(utl.ut_user, user, sizeof utl.ut_user); in pam_sm_open_session()
|
| /freebsd/usr.sbin/ppp/ |
| H A D | id.c | 211 (int)sizeof ut->ut_user, ut->ut_user, in ID0login()
|
| /freebsd/usr.sbin/ac/ |
| H A D | ac.c | 51 char user[sizeof(((struct utmpx *)0)->ut_user)]; 64 char user[sizeof(((struct utmpx *)0)->ut_user)]; 394 strlcpy(lp->user, up->ut_user, sizeof(lp->user)); in log_in()
|
| /freebsd/usr.bin/users/ |
| H A D | users.cc | 62 names.insert(ut->ut_user); in main()
|
| /freebsd/usr.bin/wall/ |
| H A D | wall.c | 141 pw = getpwnam(utmp->ut_user); in main() 151 if (strcmp(*np, utmp->ut_user) == 0) { in main()
|
| /freebsd/include/ |
| H A D | utmpx.h | 46 char ut_user[32]; /* User login name. */ member
|
| /freebsd/include/rpcsvc/ |
| H A D | rnusers.x | 61 string ut_user<RUSERS_MAXUSERLEN>; /* aka ut_name */
|
| /freebsd/usr.bin/write/ |
| H A D | write.c | 194 strcmp(user, u->ut_user) == 0) { in utmp_chk() 226 strcmp(user, u->ut_user) == 0) { in search_utmp()
|
| /freebsd/usr.bin/last/ |
| H A D | last.c | 375 bp->ut_user, bp->ut_line, bp->ut_host); in printentry() 444 if (strcmp(step->name, bp->ut_user) == 0) in want()
|
| /freebsd/crypto/openssh/ |
| H A D | loginrec.c | 756 strncpy(utx->ut_user, li->username, in construct_utmpx() 757 MIN_SIZEOF(utx->ut_user, li->username)); in construct_utmpx() 1323 if (strncmp(li->username, utx->ut_user, in wtmpx_islogin() 1324 MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) { in wtmpx_islogin()
|
| /freebsd/libexec/talkd/ |
| H A D | process.c | 190 strcmp(ut->ut_user, name) == 0) { in find_user()
|
| /freebsd/usr.bin/w/ |
| H A D | w.c | 225 if (!strcmp(utmp->ut_user, *user)) in main() 442 W_DISPUSERSIZE, W_DISPUSERSIZE, ep->utmp.ut_user, in main()
|
| /freebsd/contrib/tcsh/ |
| H A D | tc.who.c | 81 # define ut_name ut_user 94 # define ut_name ut_user
|
| /freebsd/usr.bin/getent/ |
| H A D | getent.c | 654 ut->ut_pid, ut->ut_user, ut->ut_line, ut->ut_host); in utmpxprint() 665 ut->ut_pid, ut->ut_user, ut->ut_line, ut->ut_host); in utmpxprint()
|
| /freebsd/libexec/rpc.rusersd/ |
| H A D | rusers_proc.c | 172 utmp_list[nusers].ut_user; in do_names_2()
|