diff options
author | eivind <eivind@FreeBSD.org> | 1999-11-06 20:58:44 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-11-06 20:58:44 +0000 |
commit | 861a97e013e49f0674d775509dd867ada9dc56d8 (patch) | |
tree | 20dc298036028acb772155ab77750595bb0b07a2 /libexec/uucpd | |
parent | 3729f7b2f637bab62ff74096ebc7a65a7d513b2b (diff) | |
download | FreeBSD-src-861a97e013e49f0674d775509dd867ada9dc56d8.zip FreeBSD-src-861a97e013e49f0674d775509dd867ada9dc56d8.tar.gz |
Log username with password failure.
This has proved useful in real life installations.
Diffstat (limited to 'libexec/uucpd')
-rw-r--r-- | libexec/uucpd/uucpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index b1ac24d..eb5c4a5 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) { |