Subject: Re: strange w(1) output ?
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 07/14/2004 16:07:54
In article <>,
Peter Postma <> wrote:
>On Tue, Jul 06, 2004 at 11:23:19AM +0900, enami tsugutomo wrote:
>> login(1) exec'ed by rlogind(8) can't record sockaddr since stdin isn't
>> a socket.  sshd(8) truncates the addr up to sizoef(sockaddr).
>Ok, thanks for explaining this.
>So why don't we fix sshd(8)? (see attachment). Are there any reasons
>for not applying this patch?

I think I fixed this differently already. I used the length to determine
the amount of space to be copied.