Tzafrir Cohen wrote:

On Fri, May 20, 2005 at 02:57:40AM +0300, Amit Aronovitch wrote:
Discovering this raised my curiousity. Since the new login does not have access to the old one's xauth info, this can't be done by the login scripts (I actually grepped them for such stuff). So it must be su doing it. But 'man su' does not mention any X stuff at all (in fact it looks like the standrad "GNU su" manual - complete with Stallman's rant about the 'wheel' groupl). Doing 'strings /bin/su' confirmed my suspicion - the string XAUTHORITY does appear there.

This is done by a pam module called pam_xauth that is not avilable in
Seems right, and even the man page is installed. Thanks for the tip.

Only question remains - why does the string XAUTHORITY appear inside
the /bin/su binary?
(And I did check again to see that I'm not hallucinating...)

I see no reason why su would need to know about this env var...

Debian.  If you really want that functionality:

 apt-get install sux

and use 'sux -' instead -f 'su -'
Tks, but here there's not much need.
I use either gksu (and that's mainly for running xcdroast), or plain manual su (when no X needed).


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to