login.krb5 is trying to write out the replay cache. Possibly, you compiled login.krb5 on a system with /var/tmp but then ran it on a system without that directory or something like that. You can use strace, truss or your appropriate os-specific tool to see what filename it is trying to open.