Date: Sat, 6 Sep 2003 08:11:21 -0700 (PDT) From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: PAM, X11, and su as a normal user? Message-ID: <200309061511.h86FBLep065335@troutmask.apl.washington.edu> In-Reply-To: <20030906120317.GA78469@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote: > > If all your X sessions are local to you machine (and possibly even if > they aren't), then try setting the DISPLAY variable to :0.0 -- you'll > need to repeat the fun'n'games with xauth to match the new $DISPLAY > setting. Thanks for the hint. I took the rather draconian action of deleting user sgk's .Xauthority file. Then I used xauth to merge in user kargl's entire .Xauthority. This appears to work only if I use "su -l sgk". I guess I'm inheriting something in the environment that X doesn't lik when I use "su sgk". BTW, I had no problems with this until a few months ago. At that point in time /etc/pam.d/system was added to PAM. The cvs log message suggests to me that PAM is somehow involved because it was stated that a misconfigured /etc/pam.d/system could have bad effects on login(1) and su(1). -- Steve http://troutmask.apl.washington.edu/~kargl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309061511.h86FBLep065335>