diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2014-04-19 13:47:32 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2014-04-19 13:47:32 +0000 |
commit | 07426f1f0a468b4fad5d3e065952c94422242eef (patch) | |
tree | 1f2011e8645fe084f7d981e61cf4815d40d96659 /usr.bin | |
parent | 160c0c65d71d4b9aaa987c78fd82947b09727c6b (diff) | |
download | src-07426f1f0a468b4fad5d3e065952c94422242eef.tar.gz src-07426f1f0a468b4fad5d3e065952c94422242eef.zip |
login: Remove broken dialup log message.
For 10 years, the "DIALUP <tty>, <user>" message has required having a
hostname (-h) instead of not having a hostname; therefore, it is never
logged. Given that dialup is obsolete and this has not been fixed, remove
the log message.
Note that LOGALL, which is defined by default, logs a message for all
logins, including dialup logins.
Notes
Notes:
svn path=/head/; revision=264677
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/login/login.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 6ba15dc0e908..503002db1e2c 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -489,14 +489,6 @@ main(int argc, char *argv[]) if (errno != EROFS) syslog(LOG_ERR, "chown(%s): %m", ttyn); - /* - * Exclude cons/vt/ptys only, assume dialup otherwise - * TODO: Make dialup tty determination a library call - * for consistency (finger etc.) - */ - if (hflag && isdialuptty(tty)) - syslog(LOG_INFO, "DIALUP %s, %s", tty, pwd->pw_name); - #ifdef LOGALL /* * Syslog each successful login, so we don't have to watch |