Subject: Re: Strange behaviour from xdm and getlogin()
To: Glen Pill <rxxgep@alzarius.xx.rmit.edu.au>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-help
Date: 09/12/1995 11:50:20
> Recently i've become annoyed by a strange behaviour whilst running
> xdm and serving a remote X terminal.  I'm running NetBSD-current,
> XFree86-3.1.1 but have noticed this behaviour since NetBSD-0.8 and
> XFree-godknowswhat.  It seems that getlogin() is returning the last
> login via xdm, not the current login.

I believe the problem results from the fact that xdm does not do a
setlogin() when creating the session for the user.  Although I was
under the impression that this had already been fixed.  Perhaps it
was in XFree86-3.1.2.

	--jtc