From 5bd9ff610a0401d5dc9b3e3767bd77bff1622bea Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Sat, 6 Nov 1999 20:58:44 +0000 Subject: Log username with password failure. This has proved useful in real life installations. --- libexec/uucpd/uucpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index b1ac24da85f3..eb5c4a56e2c6 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -168,7 +168,7 @@ void doit(struct sockaddr_in *sinp) printf("Password: "); fflush(stdout); errno = 0; if (readline(passwd, sizeof passwd, 1) < 0) { - syslog(LOG_WARNING, "passwd read: %m"); + syslog(LOG_WARNING, "passwd for '%s' read: %m", user); _exit(1); } if (pwdok) { -- cgit v1.3