On Wed, 19 Jul 2000, Pekka Savola wrote:
> Hello all,
>
> I just noticed that if I enable UseLogin, IP address will be shown in
'w'
> when logging on. If UseLogin is disabled, the hostname will be used.
>
> I tested this on 2.1.1p2 and p4, on home-grown Redhat Linux 6.2.
>
> Anyone else notice this? Is this an issue with OpenSSH or login?
The problem is most likely with login. OpenSSH tries to fill out
all fields in utmp, and will store both remote hostname and IP address
if your struct utmp supports them (RH does).
-d
--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)