0

(Linux Sles12 OS) After running command kinit to create a Kerberos ticket, I run klist and I see the file is stored at: /tmp/krb5cc_123456789 its seems like after a random short time (few min/sec) the file gets deleted. how can I find what is responsible for the deletion of this file?

Thanks!

I searched and saw that the file /usr/lib/tmpfiles.d/tmp.conf is responsible for tmp deletion policy however it is with default setting means nothing gets deleted.

  • 1
    [so] is for programming questions, not questions about using or configuring Unix and its utilities. [unix.se] or [su] would be better places for questions like this. – Barmar Jan 09 '23 at 19:59
  • 1
    Everything inside `/tmp` is intended to do that. If you really want to know who deleted the file you could take a look at https://linux.die.net/man/8/auditctl – jvx8ss Jan 09 '23 at 20:07
  • on top right corner you have menu with more 'stack overflow' groups. Please go to 'Unix & Linux'. You are very welcome :) – Znik Jan 10 '23 at 06:47

0 Answers0