KEYLOGOUT(1)

πŸ“¦ version 14.5, in freebsd 14.5

πŸ’… KEYLOGOUT(1) β€” the keylogout tea, explained by your favorite Unix bestie

okay so this is keylogout, a page from the General Commands Manual, and bestie… we need to talk about her status first because it's giving retired icon. 🫢


✨ NAME ✨

keylogout β€” delete stored secret key πŸ”‘


✨ SYNOPSIS ✨

keylogout [-f]

🚨 DEPRECATION NOTICE 🚨

Bestie, she's gone. keylogout is deprecated and is not available as of FreeBSD 15.0. Like, not "hiding in a back alley of /usr/bin" gone β€” actually gone. πŸ’€


🌸 DESCRIPTION 🌸

So the keylogout utility deletes the key that's stored by the key server process keyserv(8), which is the key used by any secure network services β€” think NFS and friends. πŸ¦‹

Once you do this, further access to the key is revoked. BUT β€” and this is the important part β€” current session keys may remain valid till they expire, or are refreshed. So it's not an instant-everything-shuts-off situation, iykyk. ⭐

Also, fair warning, this option will cause any background jobs that need secure RPC services to fail, and any scheduled at jobs that need the key to fail too. 😭

And the big one: since only one copy is kept on a machine of the key, it is a bad idea to place this in your .logout file, because it will affect other sessions on the same machine. Like, main character energy but in the bad way, don't do it. πŸ™ˆ

The following option is available:

  • -f β€” Forget the rootkey. πŸ’… This will break secure NFS if it is done on a server. Not a cute look, proceed with caution.

πŸ‘‘ SEE ALSO πŸ‘‘


⭐ HISTORY ⭐

The keylogout utility was removed from FreeBSD 15.0. She ate and then she left the group chat, periodt. πŸ’œ


πŸŽ€ and that's the whole vibe check, bestie β€” this page came from the Debian manual, dated April 15, 1989, so yeah, she's been around a minute. mwah πŸ’–πŸŒˆ

πŸ“¦ where this page comes from