Home | History | Annotate | Download | only in login

Lines Matching defs:tty

80 char	term[64], *envinit[1], *hostname, *tty, *nested;
186 "login %s on tty %s address mismatch "
187 "passed %s != actual %s", username, tty,
205 syslog(LOG_NOTICE, "ROOT LOGIN (%s) on tty %s from %s /"
206 " %s", username, tty, hname, assbuf);
208 syslog(LOG_NOTICE, "ROOT LOGIN (%s) on tty %s",
209 username, tty);
212 syslog(LOG_NOTICE, "%s to %s on tty %s from %s / "
213 "%s", nested, pwd->pw_name, tty, hname, assbuf);
215 syslog(LOG_NOTICE, "%s to %s on tty %s", nested,
216 pwd->pw_name, tty);
219 syslog(LOG_NOTICE, "%s on tty %s from %s / %s",
220 pwd->pw_name, tty, hname, assbuf);
222 syslog(LOG_NOTICE, "%s on tty %s",
223 pwd->pw_name, tty);
251 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
254 t = tty + strlen(tty);
255 if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
259 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
284 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
309 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line));
338 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line));
361 failures, failures > 1 ? "S" : "", tty);
364 failures, failures > 1 ? "S" : "", tty, name);