update-cracklib(8)
π update-cracklib(8) π
okay bestie, gather round, because we're talking about update-cracklib β that's the update-cracklib manual page from the System Manager's Manual, and it's lowkey the backbone of your whole password-vibes situation. sit down, sip your matcha, let's go β¨
π¦ NAME π¦
update-cracklib β regenerate the cracklib dictionary, periodt.
πΈ SYNOPSIS πΈ
update-cracklib
that's it. no flags. no arguments. she just goes. iconic behaviour honestly π
π DESCRIPTION π
so here's the tea: 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. think of it like packing your entire wardrobe into one of those vacuum-seal bags β same clothes, way less space π
and here's the part that actually matters: programs using cracklib2 need this database to be of any use. no database, no function. it's giving "no thoughts, head empty" and we simply cannot have that π
by default, this script gets called by cron every single day. she's consistent. she's reliable. she shows up. main character energy fr fr π₯
β¨ RESULT β¨
when update-cracklib runs, it prints out two numbers:
- the number of words read from the ASCII dictionaries
- the number of words eventually written into the cracklib database
and bestie, if no error occurred, these should be equal. same number twice = we ate π if they don't match, something's up and you should look at it. no cap.
as for the exit status:
0is returned on success π«Ά- otherwise, an error message is printed to standard error and
-1is returned π
so like, check that second number, okay? the vibe check is literally built into the output.
π FILES π
/etc/cracklib/cracklib.confβ a shell script that setscracklib_dictpath_src, which must be a space separated list of source dictionary files. space separated, babe. spaces. not commas, not vibes, not whatever your notes app autocorrected it to πΈ
π SEE ALSO π
cracklib(3)crack_mkdict(8)
go read those too, iykyk π¦
π 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. generous king behaviour honestly π
and that's the whole page, bestie!! this one's from June 09, 2003, written by Martin Pitt, and it ships with the System Manager's Manual. love that for us. mwah π β¨π
π¦ where this page comes from
- alpine 3.22: cracklib-doc 2.10.3-r0 Β· LGPL-2.1-or-later
- alpine 3.23: cracklib-doc 2.10.3-r0 Β· LGPL-2.1-or-later
- alpine 3.24: cracklib-doc 2.10.3-r1 Β· LGPL-2.1-or-later
- arch rolling: cracklib 2.10.3-1 Β· GPL-2.0-or-later
- centos-stream 10: cracklib 2.9.11-8.el10 Β· LGPL-2.1-or-later
- fedora 43: cracklib 2.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: cracklib 2.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: cracklib 2.9.11-8.fc43 Β· LGPL-2.1-or-later
- fedora 43: cracklib 2.9.11-8.fc43 Β· LGPL-2.1-or-later
- fedora 44: cracklib 2.10.3-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: cracklib 2.10.3-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: cracklib 2.9.11-10.fc44 Β· LGPL-2.1-or-later
- fedora 44: cracklib 2.9.11-10.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: cracklib 2.10.3
- opensuse-leap 16.0: cracklib 2.9.11-160000.2.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: cracklib 2.9.11-160000.2.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: cracklib 2.9.11-160000.2.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: cracklib 2.9.11-160000.2.2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms