Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Show kerberos ticket status in system tray

I came across a great little utility that does exactly what I was considering writing! I want to monitor my kerberos ticket status in my graphical session, and just poking around with apt-cache search led me to krb5-auth- dialog (salsa fedora src). This utility displays a system tray icon (if you tell it to ignore the Gnome3 behavior of not using a tray icon) with the current status of the kerberos ticket(s). It will notify you so many minutes (configurable) before your ticket expiration. I had to poke around in the source code to learn how to get it to show the tray icon. You have to set a debug environment variable to include the string "no-persistence."

KRB5_AUTH_DIALOG_DEBUG="no-persistence,no-app-menu,no-header-bar" gtk3-nocsd krb5-auth-dialog

And this application is still packaged for Debian and Fedora! I'm shocked the Fedora team hasn't disposed of it yet, but I guess it's zero-maintenance so orphaning it is more work than incrementing the rpm version for each new Fedora release.

Comments