Subject: Re: Something not quite right with utmp(x)
To: Martin Husemann <martin@duskware.de>
From: Geoff Wing <gcw@pobox.com>
List: current-users
Date: 05/31/2005 11:56:58
On Friday 2005-05-27 20:20 +1000, Martin Husemann output:
:While we are at it: when using something along the line of 
: ssh -l -n $HOST -x "rxvt -display .... &"
:and $HOST is a 2.0_STABLE machine, I get:
:utmp_update: /dev/ttyp0: Is not owned by you

Are you able to send me  work/rxvt-2.7.10/config.h  from the build?
I'm only on -current and can't reproduce this.
I ran MAKEDEV opty, fiddled with config.h to use those ptys but everything
ran OK.

:On -current/3.x this does not happen - I'm using ptyfs there and all ptys
:always are owned by root (even when someone is logged in).

Something funny is happening there.

% ssh -l gcw -n 127.0.0.1 -x "/usr/pkg/bin/rxvt -display 127.0.0.1:0.0"
...
% ls -l `tty` /usr/pkg/bin/rxvt
crw-------  1 gcw   tty    -   5,   3 May 31 11:52 /dev/pts/3
-rws--x--x  1 root  wheel  -   141470 May 31 11:42 /usr/pkg/bin/rxvt*

Regards,
Geoff