Bug#130706: xdm: incorrect usage of PAM_RHOST
On Wed, Aug 24, 2005 at 19:35:20 +0200, Bastian Kleineidam wrote:
> Hi,
>
> in latest versions (I checked the current 6.8.2.dfsg.1-5), the
> PAM_RHOST is set to the empty string. I don't think this is correct
> either. The remote host should be just the hostname, nothing else.
>
Hi,
In the latest version, xdm uses the display name, replaces the last
colon with '\0', and passes that value as PAM_RHOST, if the display name
doesn't start with a colon. That looks correct to me.
If the display name starts with a colon (i.e. the X server is local),
then the display name is used to set PAM_TTY.
Is there still a problem with this, or can this bug be closed?
Cheers,
Julien
Reply to: