From 55195ea8604d55ef61e0f74c6ea134a361be8c7b Mon Sep 17 00:00:00 2001 From: zhuk Date: Mon, 26 Oct 2015 15:29:17 +0000 Subject: [PATCH] Put off some "notyet" dust from login.c. okay millert@ and deraadt@ --- usr.bin/login/login.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 34a92eefd52..4e144943897 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login.c,v 1.64 2015/03/15 00:41:28 millert Exp $ */ +/* $OpenBSD: login.c,v 1.65 2015/10/26 15:29:17 zhuk Exp $ */ /* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */ /*- @@ -324,20 +324,6 @@ main(int argc, char *argv[]) (void)signal(SIGHUP, SIG_IGN); (void)setpriority(PRIO_PROCESS, 0, 0); -#ifdef notyet - /* XXX - we don't (yet) support per-tty auth stuff */ - /* BSDi uses a ttys.conf file but we could just overload /etc/ttys */ - /* - * Classify the attempt. - * By default we use the value in the ttys file. - * If there is a classify script we run that as - * - * classify [-f] [username] - */ - if (type = getttyauth(tty)) - auth_setoption(as, "auth_type", type); -#endif - /* get the default login class */ if ((lc = login_getclass(0)) == NULL) { /* get the default class */ warnx("Failure to retrieve default class"); -- 2.20.1