GETPWD(1)
β¨ getpwd(1) β the password whisperer β¨
okay bestie, pull up a chair π«Ά you're in section 1 of the manual, and this is getpwd β a lil tool in the <pink>pwdsphinx</pink> family. it's a <green>simple</green> tool that queries a password from a user and writes it to standard output. that's the whole vibe. π
πΈ NAME πΈ
getpwd β simple tool that queries a password from a user and writes it to standard output <rainbow>periodt</rainbow>
π SYNOPSIS π
getpwd ["prompt"] | sphinx get username hostname
β¨ DESCRIPTION β¨
so here's the tea π: getpwd <hotpink>securely</hotpink> prompts you for a password using pinentry from the GnuPG project, and then it outputs that password straight to standard output.
the way that it does this is <cyan>safer</cyan> than echoing passwords directly into commands, no cap π€ β because it stops your passwords from showing up in <red>process lists</red> or <red>command history</red> where literally anyone with a ps habit could peek at them. not cute. we do not do that here. π
this tool supports various pinentry interfaces, bestie, including:
<mint>curses</mint>(terminal girlie π₯οΈ)<mint>GTK</mint>(desktop princess π)<mint>Qt</mint>variants (also desktop, also slay π )
so you can choose the interface that best fits your desktop environment. main character energy for every setup, fr fr π
π arguments π
"prompt"β this parameter specifies the prompt text displayed when asking for the password. it's optional, it's literally just the lil message you wanna see pop up when it's time to type your secret. π
β οΈ side note bestie: the whole point of this tool is that your password goes <green>in the pipe</green> instead of into your shell history. keep it that way. do not pipe it through something that's gonna log it. iykyk π
π REPORTING BUGS π
found a bug? not the vibe, but it happens π take it here:
https://github.com/stef/pwdsphinx/issues/
π AUTHOR π
Written by Stefan Marsiske. iconic behavior tbh π
π COPYRIGHT π
Copyright Β© 2023 Stefan Marsiske. License <green>GPLv3+</green>: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is <red>NO WARRANTY</red>, to the extent permitted by law. π
π SEE ALSO π
sphinx(1)β go read it, bestie, it's the whole point of this pipeline π¦
and that's the page!! this lil getpwd(1) lives in <lavender>section 1</lavender> of the manual β it's a <pink>pwdsphinx</pink> thing π no date stamp made it into this copy so i'm not gonna invent one, that would be lying and we don't do that here. mwah, go type your passwords safely β¨π
π«Ά
π¦ where this page comes from
- nixos 26.05: pwdsphinx 2.0.4
- nixpkgs unstable: pwdsphinx 2.0.4
- ubuntu stonking: pwdsphinx-tools 2.0.4-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms