Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/login Remove the syslogging of a dial out login warn...
details: https://anonhg.NetBSD.org/src/rev/a75935324da2
branches: trunk
changeset: 333662:a75935324da2
user: aymeric <aymeric%NetBSD.org@localhost>
date: Wed Nov 12 22:23:38 2014 +0000
description:
Remove the syslogging of a dial out login warning based on the tty name, because
the test is sloppy and doesn't correspond to the current naming anyway.
OK gdt@
PR#377 can remain closed.
diffstat:
usr.bin/login/login.c | 7 ++-----
usr.bin/login/login_pam.c | 8 ++------
2 files changed, 4 insertions(+), 11 deletions(-)
diffs (57 lines):
diff -r 9e23b771b1c2 -r a75935324da2 usr.bin/login/login.c
--- a/usr.bin/login/login.c Wed Nov 12 21:56:48 2014 +0000
+++ b/usr.bin/login/login.c Wed Nov 12 22:23:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: login.c,v 1.104 2014/03/16 00:33:13 dholland Exp $ */
+/* $NetBSD: login.c,v 1.105 2014/11/12 22:23:38 aymeric Exp $ */
/*-
* Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-__RCSID("$NetBSD: login.c,v 1.104 2014/03/16 00:33:13 dholland Exp $");
+__RCSID("$NetBSD: login.c,v 1.105 2014/11/12 22:23:38 aymeric Exp $");
#endif /* not lint */
/*
@@ -637,9 +637,6 @@
(void)setenv("KRB5CCNAME", krb5tkfile_env, 1);
#endif
- if (tty[sizeof("tty")-1] == 'd')
- syslog(LOG_INFO, "DIALUP %s, %s", tty, pwd->pw_name);
-
/* If fflag is on, assume caller/authenticator has logged root login. */
if (rootlogin && fflag == 0) {
if (hostname)
diff -r 9e23b771b1c2 -r a75935324da2 usr.bin/login/login_pam.c
--- a/usr.bin/login/login_pam.c Wed Nov 12 21:56:48 2014 +0000
+++ b/usr.bin/login/login_pam.c Wed Nov 12 22:23:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: login_pam.c,v 1.23 2013/10/18 20:47:06 christos Exp $ */
+/* $NetBSD: login_pam.c,v 1.24 2014/11/12 22:23:38 aymeric Exp $ */
/*-
* Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94";
#endif
-__RCSID("$NetBSD: login_pam.c,v 1.23 2013/10/18 20:47:06 christos Exp $");
+__RCSID("$NetBSD: login_pam.c,v 1.24 2014/11/12 22:23:38 aymeric Exp $");
#endif /* not lint */
/*
@@ -467,10 +467,6 @@
exit(EXIT_FAILURE);
}
- if (tty[sizeof("tty")-1] == 'd')
- syslog(LOG_INFO, "DIALUP %s, %s", tty, pwd->pw_name);
-
-
/*
* Establish groups
*/
Home |
Main Index |
Thread Index |
Old Index