Hi,

in environments with Kerberos and especially NFS with Kerberos, it is
important to keep the Kerberos credentials valid by renewing them at
the proper time. Doubly so with screen or tmux sessions since they
typically run for a longer time.

There is the tool krenew which does this automatically. What it does
is it clones the credentials cache, updates the appropriate
environment variable, then starts the program and *while the program
is running*, renews the credentials at the proper time. If the program
exits, krenew exits as well, deleting the cloned credentials cache.

It is possible to use screen together with krenew, by starting a
screen session like this:
krenew -b -- screen -D -m

This starts a detached screen session but does not fork, so that
krenew works properly.

I haven't found a way to achieve this behavior with tmux. Is it
currently possible? If so, how? If not, do you think it would be
worthwhile to add an option to make it possible? Or do you have any
other suggestions how to deal with this issue?

Thanks in advance!

Best,
 Mika

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to