[OpenAFS] significant delay for afs user to login as root via su
Buhrmaster, Gary
gtb@slac.stanford.edu
Thu, 18 Mar 2010 09:01:04 -0700
> -----Original Message-----
> From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.o=
rg] On Behalf Of Ken
> Hornstein
....
> - Assuming you're using ssh (I am guessing that you are), convince sshd
> to write your Xauthority information somewhere else, like a file
> in /tmp (and make sure your XAUTHORITY environment variable is correct)=
.
> I would guess this is possible, but I don't know if there's an easy
> way to do it.
Well, if you are using a non-brain dead ssh/pam stack,
you should be able to add pam_env into your pam
ssh auth list, with a config file that specifies
an appropriate XAUTHORITY variable. Be aware that
if you choose something like /tmp you need to
consider what your tmp directory cleanup program
will do to the xauthority files placed there. =20