Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/login
Module Name: src
Committed By: christos
Date: Sun Nov 14 18:01:21 UTC 2004
Modified Files:
src/usr.bin/login: login.1 login.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/usr.bin/login/login.1
cvs rdiff -r1.78 -r1.79 src/usr.bin/login/login.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index