Re: PAM, X11, and su as a normal user? (fwd)

From: Steven G. Kargl <kargl_at_troutmask.apl.washington.edu>
Date: Sat, 6 Sep 2003 08:41:05 -0700 (PDT)
Pat Lashley wrote:
> --On Saturday, September 06, 2003 00:31:17 -0700 "Steven G. Kargl" 
> <kargl_at_troutmask.apl.washington.edu> wrote:
> 
> > I don't quite understand your suggestion.
> >
> > I login as user kargl.  I fire up X11
> > as user kargl with startx.  I use su in a
> > xterm to connect to my alter ego (su sgk).
> > Now, as user sgk I want to use a X11 client
> > such as nedit.  AFAICT, it can't be done.
> >
> > If as user kargl, I do "ssh -X sgk_at_troutmask"
> > to login into the sgk account, I still can
> > not use a X11 client.
> 
> Hmm.  That should work fine.  I do it all the time.  Check the
> log messages to see if the SSH daemon had any non-fatal complaints.
> 

This appears to work now, but I had to delete sgk/.Xauthority
and then merge user kargl/.Xauthority into sgk/.Xauthority.
Perhaps, the old sgk/.Xauthority was somehow corrupt although
xauth appeared to have no problems with it.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/
Received on Sat Sep 06 2003 - 06:41:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC