Lines Matching defs:tty
267 char *tty, char *ttyn)
272 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) {
310 * information about the user. `ttyn' is the complete name of the tty
311 * and `tty' the short name.
315 do_login(const struct passwd *pwd, char *tty, char *ttyn)
334 tty, ttyn);
336 gr = getgrnam ("tty");
606 /* Default tty settings. */
644 char *tty, *ttyn;
708 tty = ttyn + strlen(_PATH_DEV);
710 tty = ttyn;
712 if (login_access (pwd, remote_host ? remote_host : tty) == 0) {
719 pwd->pw_name, tty);
727 pwd->pw_name, tty, (int) getppid());
730 do_login(pwd, tty, ttyn);