PAMU2FCFG(1)

πŸ“¦
version 1.4.0 Β· 5 versions
, in alpine 3.24, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– PAMU2FCFG(1) πŸ’–

okay bestie, sit down, because we're about to talk about pamu2fcfg β€” the PAM U2F Configuration Tool β€” and honestly? she's iconic. this whole page lives in section 1 of the manual, so if you ever need to find her again, you know where to look. πŸŽ€


✨ NAME ✨

pamu2fcfg β€” Configuration tool for the U2F PAM module.

like. the whole point. she configures your U2F PAM module. that's the gig. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pamu2fcfg [OPTION]...

that's it. that's the whole thing. options only, no positional args, no drama. 🌸


πŸ’« DESCRIPTION πŸ’«

so what does she actually do? she runs a full FIDO2/U2F registration procedure using an authenticator that's plugged in / connected, and then she spits out a configuration line that you can use with the U2F PAM module. 🫢

that's the tea. that's literally it. plug in your key, run the tool, get your config line, go live your life. periodt. ✨


πŸ‘‘ OPTIONS πŸ‘‘

every single one, no skips, no skimming, we're doing this properly because you deserve the full picture. πŸ’œ

  • -d, --debug β€” print debug information. and when she says debug info she means it, this is highly verbose. like, so much output. be ready. 😭
  • -h, --help β€” print help and exit. the classic escape hatch. πŸŽ€
  • -o, --origin=STRING β€” set the FIDO2 relying party ID to use during registration. defaults to pam://hostname. heads up tho: before pamu2fcfg v1.1.0, this option set the U2F origin URL instead. so if you're on an old version, different vibe entirely. πŸ’€
  • -i, --appid=STRING β€” set the FIDO2 relying party name to use during registration. defaults to origin. and same lore as above: before pamu2fcfg v1.1.0, this set the U2F application ID. πŸ¦‹
  • -r, --resident β€” generate a resident credential. defaults to off. πŸ‘‘
  • -t, --type=STRING β€” the COSE type to use during registration. your choices are ES256, EDDSA, or RS256. defaults to ES256. pick your fighter. πŸ”₯
  • -P, --no-user-presence β€” allow using the credential without ensuring the user's presence. defaults to off. 🌈
  • -N, --pin-verification β€” require PIN verification during authentication. defaults to off. πŸ” (ok that emoji wasn't on the list but the vibe was right, moving on πŸ’…)
  • -V, --user-verification β€” require user verification during authentication. defaults to off. ⭐
  • --version β€” print version and exit. πŸŽ€
  • -u, --username=STRING β€” the name of the user registering the device. defaults to the current user name. 🫢
  • -n, --nouser β€” print only registration information (that's the key handle, the public key, and the options). super useful for appending. ✨

πŸ› BUGS πŸ›

found a bug? don't suffer in silence bestie, report pamu2fcfg bugs in the issue tracker:

https://github.com/Yubico/pam-u2f/issues

they want to hear from you fr fr. πŸ’–


🌸 SEE ALSO 🌸

go read these next, they're all connected, iykyk:

the pam-u2f home page: https://developers.yubico.com/pam-u2f/

and if you need a YubiKey of your very own (and honestly, who doesn't), you can get them from Yubico: https://www.yubico.com/ πŸ‘‘


okay that's the whole page, you made it, i'm so proud of you. πŸ₯Ή this was pamu2fcfg, Version 1.4.0, living her best life in section 1 of the manual. go register something. slay. πŸ’…βœ¨