summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2004-11-14 18:01:21 +0000
committerchristos <christos@NetBSD.org>2004-11-14 18:01:21 +0000
commit4a9bb0c8f3254878bf105f56f33e4297f4ee397b (patch)
tree031db061385bae8e5d324adf47dc9a3278d7144b /libexec
parent61e6610474623d8010abbda6de10f368622cc261 (diff)
Add a -a option to pass the host address of the host we logged in from in
addition to the host name. This option is needed by programs suchs as telnetd, because at the point they invoke login, they already have opened a pty, and the stdin of login is no longer the socket connected to the remote host. In addition don't chop the hostname up to the first dot if the domain matches. These practices are 70's fashion and they only serve to lose information. These days we have long enough fields in utmpx and wtmpx to store the full names.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions