search for: auth_ttyok

Displaying 1 result from an estimated 1 matches for "auth_ttyok".

2002 Mar 24
1
FreeBSD 4.x
..."/dev/%s", s->parsed_tty);" I'm no fan of sscanf but I don't feel like pasting a while loop following be counter variables, etc, for parsing to a mailing list :) The splice of code is found in session.c #ifdef HAVE_LOGIN_CAP if (!auth_ttyok(lc, s->tty)) { (void)printf("Permission denied.\n"); log( "LOGIN %.200s REFUSED (TTY) FROM %.200s ON TTY %.200s", pw->pw_name, get_remote_name_or_ip(utmp_l...