Fixed override of KRB5CCNAME when attaching.
authorIain Patterson <me@iain.cx>
Thu, 9 Dec 2010 13:47:03 +0000 (13:47 +0000)
committerIain Patterson <me@iain.cx>
Thu, 9 Dec 2010 15:25:46 +0000 (15:25 +0000)
commitd888ac6b277e2ff5feb8610bbdc8ae775cef56e5
treee5e233d41e18d805c3ad89d0f0119dfa7bd64813
parentafde48fdbf30c96f0dccf36992843daf2fc9062d
Fixed override of KRB5CCNAME when attaching.

Because KRB5CCNAME was set in update-environment, when attaching
to a running session the saved KRB5CCNAME would be replaced with
that from the attaching user.  This conflicts with the cache used
by ktmux_helper.

Instead, use set-environment to put KRB5CCNAME in the session
environment and kinit with it before running tmux.
.tmux.conf
opt/bin/ktmux