update-cracklib(8)
π 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:
- the number of words read from the ASCII dictionaries π
- 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 β:
0is returned on success π- otherwise an error message is printed to standard error and
-1is returned π
π FILES π
/etc/cracklib/cracklib.confβ a shell script that setscracklib_dictpath_src, which must be a space separated list of source dictionary files. yes, spaces. not commas. not newlines. spaces. π«Ά
π SEE ALSO π
cracklib(3)crack_mkdict(8)
π 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. π
β¨
π¦ where this page comes from
- debian bookworm: cracklib-runtime 2.9.6-5+b1 Β· LGPL-2.1-only
- debian trixie: cracklib-runtime 2.9.6-5.2+b1 Β· LGPL-2.1-only
- ubuntu noble: cracklib-runtime 2.9.6-5.1build2 Β· LGPL-2.1-only
- ubuntu questing: cracklib-runtime 2.9.6-5.2build1
- ubuntu resolute: cracklib-runtime 2.9.6-5.2build3 Β· LGPL-2.1-only
- ubuntu stonking: cracklib-runtime 2.9.6-5.3 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms