update-cracklib(8)

πŸ“¦
version 2.9.6 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– update-cracklib β€” bestie edition πŸ’–

okay so real talk, this is update-cracklib(8) from the System Manager's Manual, and she's a tiny little icon who does exactly one thing and does it flawlessly. no cap.


✨ NAME ✨

update-cracklib β€” regenerate the cracklib dictionary, that's it, that's the whole job πŸŽ€


🌸 SYNOPSIS 🌸

update-cracklib

no flags. no arguments. she takes nothing and gives everything. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so update-cracklib builds a compressed and accumulated version of the wordlists that live in the directories listed in cracklib's config file, /etc/cracklib/cracklib.conf. πŸ—‚οΈ

and like… this matters, okay? programs that use cracklib2 need this database to be of any use. literally none. zero. it's giving "no database, no function." so this lil script is lowkey load-bearing. πŸ”₯


🌈 RESULT 🌈

when she's done, update-cracklib prints out two numbers:

  1. the number of words read from the ASCII dictionaries πŸ“–
  2. the number of words eventually written into the cracklib database πŸ’Ύ

and if no error occurred, those two should be equal. if they're not equal… bestie, something happened. πŸ‘€

exit status tea β˜•:

  • 0 is returned on success πŸŽ‰
  • otherwise an error message is printed to standard error and -1 is returned 😭

πŸŽ€ FILES πŸŽ€

  • /etc/cracklib/cracklib.conf β€” a shell script that sets cracklib_dictpath_src, which must be a space separated list of source dictionary files. yes, spaces. not commas. not newlines. spaces. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

this program and this manual page were written by Martin Pitt <martin@piware.de> for the Debian GNU/Linux System (but may be used by others). iconic behavior, honestly. 🌟


πŸ’Œ and that's the whole page bestie!! this came from the System Manager's Manual, written by Martin Pitt, dated June 09, 2003, and it's update-cracklib(8). periodt. πŸ’…βœ¨