aboutsummaryrefslogtreecommitdiff
path: root/libexec/uucpd
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-11-06 20:58:44 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-11-06 20:58:44 +0000
commit5bd9ff610a0401d5dc9b3e3767bd77bff1622bea (patch)
tree20dc298036028acb772155ab77750595bb0b07a2 /libexec/uucpd
parentaa510d6741622bd40bae9c6c3f4e9d1599c033ee (diff)
downloadsrc-5bd9ff610a0401d5dc9b3e3767bd77bff1622bea.tar.gz
src-5bd9ff610a0401d5dc9b3e3767bd77bff1622bea.zip
Log username with password failure.
This has proved useful in real life installations.
Notes
Notes: svn path=/head/; revision=52922
Diffstat (limited to 'libexec/uucpd')
-rw-r--r--libexec/uucpd/uucpd.c2
1 files changed, 1 insertions, 1 deletions
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) {