Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 63748 - pam_xauth doesn't copy correct cookie.
pam_xauth doesn't copy correct cookie.
Product: Red Hat Linux
Classification: Retired
Component: pam (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2002-04-18 07:20 EDT by Need Real Name
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-21 09:53:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-04-18 07:20:31 EDT
Description of Problem:

pam_xauth doesn't copy the cookie that is actually used by xlib.

Version-Release number of selected component (if applicable):
7.2 latest upgrades, as of 17th April 2002

How Reproducible:
4 Servers, all had exactly the same problem.

Steps to Reproduce:

Log in via ssh (with X tunneling)
Su to root "su -"
Try and run an X application.

Actual Results:
It fails, because the cookie hasn't been copied.

Expected Results:
X application should run.

Additional Information:
---------------------------------------------------------------------------- localhost.localdomain localhost MachineName

Changes to sshd_config (openssh from openssh-3.1p1-2)
Protocol 2
PermitRootLogin no
PasswordAuthentication no
X11UseLocalHost yes

Unclear how much these affect the problem.

X11UseLocalHost causes only 1 xauth cookie to be set (instead of two).


If you have DISPLAY set to localhost:10, then the cookie that is used is
MachineName/unix:10, pam_xauth doesn't copy this.

Comment 1 Tomas Mraz 2004-10-21 09:53:51 EDT
It works just fine with Fedora Core 2.

Note You need to log in before you can comment on or make changes to this bug.