Home
last modified time | relevance | path

Searched refs:ut_user (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/libexec/comsat/
H A Dcomsat.c116 char buf[sizeof(_PATH_MAILDIR) + sizeof(utp->ut_user) + 1]; in mailfor()
117 char buf2[sizeof(_PATH_MAILDIR) + sizeof(utp->ut_user) + 1]; in mailfor()
127 sprintf(buf, "%s/%.*s", _PATH_MAILDIR, (int)sizeof(utp->ut_user), in mailfor()
131 (int)sizeof(utp->ut_user), file); in mailfor()
137 if (utp->ut_type == USER_PROCESS && !strcmp(utp->ut_user, name)) in mailfor()
165 dsyslog(LOG_DEBUG, "%s: wrong mode on %s", utp->ut_user, tty); in notify()
168 dsyslog(LOG_DEBUG, "notify %s on %s", utp->ut_user, tty); in notify()
186 if ((p = getpwnam(utp->ut_user)) == NULL || in notify()
197 cr, utp->ut_user, (int)sizeof(hostname), hostname, in notify()
/freebsd/usr.bin/who/
H A Dwho.c185 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/usr.sbin/lastlogin/
H A Dlastlogin.c65 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/libexec/ftpd/
H A Dlogwtmp.c55 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); in ftpd_logwtmp()
/freebsd/lib/libulog/
H A Dulog_login.c69 strlcpy(utx.ut_user, user, sizeof utx.ut_user); in ulog_login()
/freebsd/crypto/heimdal/appl/login/
H A Dutmpx_login.c39 strncpy(ut->ut_user, user, sizeof(ut->ut_user)); in utmpx_update()
H A Dutmp_login.c96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user)); in prepare_utmp()
/freebsd/usr.bin/finger/
H A Dfinger.c234 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 Dsys_term.c1159 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 Dlogwtmp.c145 strncpy(utx.ut_user, name, sizeof(utx.ut_user)); in ftpd_logwtmp_wtmp()
/freebsd/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c137 strncpy(utl.ut_user, user, sizeof utl.ut_user); in pam_sm_open_session()
/freebsd/usr.sbin/ac/
H A Dac.c51 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.sbin/ppp/
H A Did.c211 (int)sizeof ut->ut_user, ut->ut_user, in ID0login()
/freebsd/usr.bin/wall/
H A Dwall.c141 pw = getpwnam(utmp->ut_user); in main()
151 if (strcmp(*np, utmp->ut_user) == 0) { in main()
/freebsd/usr.bin/users/
H A Dusers.cc62 names.insert(ut->ut_user); in main()
/freebsd/include/
H A Dutmpx.h46 char ut_user[32]; /* User login name. */ member
/freebsd/include/rpcsvc/
H A Drnusers.x61 string ut_user<RUSERS_MAXUSERLEN>; /* aka ut_name */
/freebsd/usr.bin/write/
H A Dwrite.c194 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 Dlast.c375 bp->ut_user, bp->ut_line, bp->ut_host); in printentry()
444 if (!strcmp(step->name, bp->ut_user)) in want()
/freebsd/crypto/openssh/
H A Dloginrec.c749 strncpy(utx->ut_user, li->username, in construct_utmpx()
750 MIN_SIZEOF(utx->ut_user, li->username)); in construct_utmpx()
1316 if (strncmp(li->username, utx->ut_user, in wtmpx_islogin()
1317 MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) { in wtmpx_islogin()
/freebsd/usr.bin/w/
H A Dw.c225 if (!strcmp(utmp->ut_user, *user)) in main()
442 W_DISPUSERSIZE, W_DISPUSERSIZE, ep->utmp.ut_user, in main()
/freebsd/libexec/talkd/
H A Dprocess.c190 strcmp(ut->ut_user, name) == 0) { in find_user()
/freebsd/contrib/tcsh/
H A Dtc.who.c81 # define ut_name ut_user
94 # define ut_name ut_user
/freebsd/usr.bin/getent/
H A Dgetent.c654 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 Drusers_proc.c172 utmp_list[nusers].ut_user; in do_names_2()

12