]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
shadow: Update login.defs to remove reference to cracklib
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 25 Mar 2024 13:41:38 +0000 (14:41 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Mar 2024 15:59:56 +0000 (15:59 +0000)
- From shadow-15.0.0 all references to cracklib were removed from shadow. Apparently
   some functions were no longer accessible and the shadow team decided to remove cracklib
   references completely. This was not mentioned in the changelkog for 15.0.0
- This resulkts in gettinbg the message configuration error - unknown item
   'CRACKKLIB_DICTPATH' ( notify administrator ) when logging in to the console.
- The login to the console occurs successfully so the message is only a warning that
   cracklib is no longer used.
- IPfire does not use cracklkib anyway so this patch removes the section referring to
   cracklib from the login.defs configuration file.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/shadow/login.defs

index a9559d6c42960fa66a9effe2189373a402ba8038..2662a62cc985bee539edd5417d9c076ca2f407b1 100644 (file)
@@ -175,11 +175,6 @@ PASS_WARN_AGE      7
 #
 SU_WHEEL_ONLY  no
 
-#
-# If compiled with cracklib support, sets the path to the dictionaries
-#
-CRACKLIB_DICTPATH      /var/cache/cracklib/cracklib_dict
-
 #
 # Min/max values for automatic uid selection in useradd(8)
 #