MKPASSWD(1p)

πŸ“¦
version 0.05 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– MKPASSWD πŸ’–

okay bestie, this is MKPASSWD(1p) β€” a User Contributed Perl Documentation page. yes, the "1p" is real, that's the manual section, she's a Perl joint. and honestly? she's giving password-factory energy and we're obsessed. πŸŽ€


✨ NAME ✨

mkpasswd.pl β€” it's the example script that shows you how to make a brand new password using String::MkPasswd. like, the tutorial bestie of password generators. πŸ’…


🌸 SYNOPSIS 🌸

  mkpasswd.pl [-options]

  #!/bin/sh
  NEW_PASSWD=`mkpasswd.pl`

so literally you just run it, or you tuck it into a shell script like that second line and catch the password in a variable. she's lowkey versatile like that. πŸ¦‹


🫢 DESCRIPTION 🫢

okay so here's the vibe: this program spits out a random password, and you get to do a lil tuning of how the characters are distributed. when she's done, the password goes straight to standard output. no notes, no extras, just the goods. ✨

πŸŽ€ OPTIONS πŸŽ€

  • -l #, --length=# β€” the total length of the password, all of it, the whole thing. the default is 9. so if you don't say anything you're getting nine characters, periodt.
  • -d #, --digits=# β€” the minimum number of digits that will show up in the final password. the default is 2. minimum, babes, not a cap. πŸ™ˆ
  • -c #, --lower=# β€” the minimum number of lower-case characters that will land in the final password. the default is 2. lowercase girlies, represent. πŸ‘‘
  • -C #, --upper=# β€” the minimum number of upper-case characters that will appear in the final password. the default is 2. yes, capital-C is the uppercase one. cute, right? it's giving matching set. 🌈
  • -s #, --special=# β€” the minimum number of non-alphanumeric characters that will make it into the final password. the default is 1. so like, the little symbols. the ✨spice✨. πŸ”₯
  • -2, --distribute β€” if you specify this, the password characters get distributed between the left- and right-hand sides of the keyboard. why? because it makes it harder for an onlooker to see the password as it is typed. anti-shoulder-surfing technology, we love to see it. πŸ’€
  • --nodigits, --no-digits β€” an alias for --digits=0. just a shortcut to yeet the digits entirely. both spellings, you're covered. 🫢
  • --nolower, --no-lower β€” an alias for --lower=0. lowercase? not today. 🌸
  • --noupper, --no-upper β€” an alias for --upper=0. uppercase? also not today. πŸ’œ
  • --nospecial, --no-special β€” an alias for --special=0. special characters? gone. bye bestie. πŸ¦‹

😭 BUGS 😭

  • while it's not really a bug, the .pl extension has been tacked onto the name to avoid conflict with the program of the same name that ships with Expect. so it's less "broken" and more "she had to change her name to avoid the other girl". πŸ’…

⭐ TODO ⭐

  • for completeness, add user password setting functionality as found in Expect's mkpasswd(1) example. so like, future plans. she said "one day". πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

go look at those too, iykyk. 🫢


🧚 AKNOWLEDGEMENTS 🧚

Don Libes of the National Institute of Standards and Technology, who wrote the Expect example, mkpasswd(1). king behavior, fr fr. πŸ‘‘


🌟 AUTHOR 🌟

Chris Grau <cgrau@cpan.org> πŸ’–


Copyright (C) 2003-2004 by Chris Grau

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.


okay so that's the whole page bestie, no cap, every option accounted for. πŸ’–

and for the cute lil sign-off: this whole vibe is perl v5.36.0 coded, dated 2022-10-22, and it's an MKPASSWD(1p) original. slay, go make some passwords. βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from