public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] shadow: Update login.defs to remove reference to cracklib
@ 2024-03-25 13:41 Adolf Belka
  2024-03-26 10:32 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2024-03-25 13:41 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

- 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(a)ipfire.org>
---
 config/shadow/login.defs | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/config/shadow/login.defs b/config/shadow/login.defs
index a9559d6c4..2662a62cc 100644
--- a/config/shadow/login.defs
+++ b/config/shadow/login.defs
@@ -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)
 #
-- 
2.44.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] shadow: Update login.defs to remove reference to cracklib
  2024-03-25 13:41 [PATCH] shadow: Update login.defs to remove reference to cracklib Adolf Belka
@ 2024-03-26 10:32 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2024-03-26 10:32 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1418 bytes --]

Thank you. Merged :)

> On 25 Mar 2024, at 13:41, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> - 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(a)ipfire.org>
> ---
> config/shadow/login.defs | 5 -----
> 1 file changed, 5 deletions(-)
> 
> diff --git a/config/shadow/login.defs b/config/shadow/login.defs
> index a9559d6c4..2662a62cc 100644
> --- a/config/shadow/login.defs
> +++ b/config/shadow/login.defs
> @@ -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)
> #
> -- 
> 2.44.0
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-26 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 13:41 [PATCH] shadow: Update login.defs to remove reference to cracklib Adolf Belka
2024-03-26 10:32 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox