How to automatically set the path to a remote-user's local cached file

I need to point to a local cached file, store this path in a ENV var to pass to the PUN.
Which is the best way to pull the current remote-user and automatically populate the specific path to a local cached file?


Hi and welcome! (I didn’t notice you were a first time user in the other topic).

Is this related to your Kerberos issue in another topic?

I suspect I’ve answered your question in another topic:

YES. This is the same argument. It is related to Kerberos authentication for OpenAFS authorization. I can authenticate with Kerberos/GSSAPI and also access AFS HOME files. The problem is that I lose the link to the Kerberos ticket (stored in the cache file) after authentication.
Thank you,