[OpenAFS] openafs and screen command - loosing tokens
Vladimir Konrad
v.konrad@lse.ac.uk
Fri, 13 Feb 2009 15:25:54 +0000
Hello Thomas,
> My standard formula for running a screen session with long
> running credentials is:
>
> * Put yourself into a new pag by running
>
> pagsh
>
> * Make sure you have an independent kerberos credentials
> cache:
>
> export KRB5CCNAME=FILE:`mktemp /tmp/krb5cc.screen.XXXXXX`
>
> * Get tickets, get tokens, cd to your home directory
>
> * Run screen
Thanks, it works.
> Works like a charm for me. I wrote a little script called
> "mypag" that does steps 1 and 2, runs a shell, and then
> calls unlog and kdestroy when done. This is very handy
> when I want to do something quickly with an administrative
> instance --- keeps everything self-contained and when I'm
> done the admin credentials go away and I'm back to my normal
> creds. Of course, after the screen sesson is started,
> re-attaching the conventional screen way is all you need
> to do.
Good pointer for admin work. Cheers!
Vlad
------
> because it reverses the logical flow of conversation + it is hard to follow.
>> why not?
>>> do not put a reply at the top of the message, please...
Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm