Failed X11 authentication does the wrong thing

Nicolas Williams Nicolas.Williams at ubsw.com
Fri Jul 27 05:51:40 EST 2001


On Thu, Jul 26, 2001 at 02:29:19PM -0500, Dave Dykstra wrote:
> On Thu, Jul 26, 2001 at 12:00:54PM -0700, Darren Moffat wrote:
> ...
> > I've also written a PAM module for use with su that uses xauth to
> > make a copy of the cookie for the current DISPLAY out of the src users
> > .Xauthority and put it into the destination users .Xauthority.  This a
> > safe way to do it - if I ever get the time I'll update the PAM module
> > to remove the cookie from the .Xauthority when the session exits.
> 
> Interesting, but not necessarily safe, if a group of people share the login
> you su to.  It's too bad that the xauth magic cookie can't be in an
> environment variable.  On the other hand, I think some systems make it easy
> for other people to dump out your environment variables so that would be no
> good either.

Ideally the X libs would support the same sort of concept as the
ssh-agent but for accessing X cookies.

In fact, I'd really like to see an all-purpose agent along the lines of
ssh-agent, but not just for SSH keys: Kerberos ccaches, X cookies, NTLM
hashes (think about Samba's smbsh/smbwrapper) and so on.

> - Dave Dykstra


Nico
--
. 
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list