MUNGEKEY(8)
π MUNGEKEY(8) β the MUNGE key management utility π
okay so bestie, quick vibe check: this is section 8 of the manual (that's the sysadmin-y one π«Ά), and it lives in the MUNGE Uid 'N' Gid Emporium. That's the whole title situation, we're moving on.
β¨ SYNOPSIS β¨
mungekey [-c] [-b bits] [-f] [-k keyfile] [-v]
πΈ DESCRIPTION πΈ
So mungekey is literally the key management utility for MUNGE. And the rules are the rules, babe: it should be run by the same user that starts the munged daemon. Same user, no exceptions, that's the assignment. π
If you pass no options at all, mungekey will try to create a brand new key using the default settings. Cute! Iconic! But here's the catch β that will fail if the keyfile already exists. Like, it's not gonna overwrite your stuff behind your back, she's polite. π
Now the part that actually matters, and I need you to lock in for this one: all munged daemons within a security realm must use the same key. Read that again. In other words β every host inside an administrative group (or cluster) that's using MUNGE for authentication has to use the same key. So the move is: create this keyfile on one host, then securely copy it to all the other hosts. One key to rule them all, periodt. π
π OPTIONS π
-b,--bitsinteger β pick how many bits go in the key being created, range is[256-8192]. More bits, more β¨securityβ¨.-c,--createβ create a new keyfile. Fresh out the oven, just for you. π-f,--forceβ force the keyfile to get overwritten if it already exists. She will absolutely bulldoze what's there, so know what you're doing. π-h,--helpβ show a lil summary of the command-line options. Your friendly lil cheat sheet.-k,--keyfilepath β tell her the keyfile pathname you want.-L,--licenseβ display license information. Legal girlies rise. β-v,--verboseβ be verbose. She'll tell you everything that's happening, no gatekeeping.-V,--versionβ display version information. Slay.
π¦ FILES π¦
/etc/munge/munge.keyβ contains the shared cryptographic key for hosts within the security realm. This is the file, the main character of the whole operation. π
π AUTHOR π
Chris Dunlap <cdunlap@llnl.gov> β give him his flowers, fr fr. πΈ
π COPYRIGHT π
Copyright (C) 2007-2025 Lawrence Livermore National Security, LLC. Copyright (C) 2002-2007 The Regents of the University of California.
MUNGE is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Additionally for the MUNGE library (libmunge), you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
bestie this is the actual license text and it's legally load-bearing, so I kept it exactly as-is. Don't paraphrase licenses, that's not the vibe. π«Ά
π SEE ALSO π
munge(1), remunge(1), unmunge(1), munge(3), munge_ctx(3), munge_enum(3), munge(7), munged(8).
and that's the whole page, no cap. this lil masterpiece is from munge-0.5.18, dated 2026-02-10 β so if you're reading this from the future, hiii, hope your keyfile is safe. πβ¨π«Ά
π¦ where this page comes from
- arch rolling: munge 0.5.18-2 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- fedora 43: munge 0.5.18-1.fc43 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- fedora 44: munge 0.5.18-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- nixpkgs unstable: munge 0.5.18
- Copyright (C) 2007-2025 Lawrence Livermore National Security, LLC
- Copyright (C) 2002-2007 The Regents of the University of California
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms