search for: parsed_tty

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

Did you mean: parsed_attr
2002 Mar 24
1
FreeBSD 4.x
...ation on ttygroups)." It appears that the OpenSSH Daemon (sshd) is sending the /dev/ to be verified along with the tty*. Quick fix, either add /dev/ to your login.conf ttys.* entries or make the sshd cut of the leading /dev/. Proposed idea, "sscanf(s->tty, "/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)) {...