From patchwork Mon Mar 25 13:41:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 7678 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4V3DcW5Wgwz3wv4 for ; Mon, 25 Mar 2024 13:41:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4V3DcS6r1jznj; Mon, 25 Mar 2024 13:41:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4V3DcS4jd3z307m; Mon, 25 Mar 2024 13:41:44 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4V3DcQ2kJNz2ySG for ; Mon, 25 Mar 2024 13:41:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4V3DcP1tWvzZC; Mon, 25 Mar 2024 13:41:41 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1711374101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=svZrSU5KmELRC1DgzdQ70oasvpJhwf+0xRF9v/3xaGY=; b=d4Xto2NBbx02PjQL7ypps+CeN5Pe2jvyRYzMwexNw3pFBSnFFqZhdKLxODchM4foTKZHHO lzpn1GqB9nmSGNAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1711374101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=svZrSU5KmELRC1DgzdQ70oasvpJhwf+0xRF9v/3xaGY=; b=YI3iABLXjwkoZwtk4owbkiDO1LugAihPEPURogvrvXQ0pS/Da4UYdZYjh30XPaWqjjrGjy a9z+n1aZnOdlKRrWQauAW8j8idAqLOWktDhkrMPCdrEPxrl4ieuCAIgmARM1R2B+Opy7MF vds9+CRVsR1IpuvLgMMhx1Z19640Pv3vJDp3UYhfkEWGsVP6yn5O0l8URwkwfyaBPHvU76 +yOdBL+hHNl+2rc0O4pep/CgnXDW29H9FO/GD59rw9hd/B5MpXJFhWw8efrlIIZhWftoKd 3+15NkEUhBPQFarbFZQniwkp5rNhum++ps1FGbJGa3U5Il3TothjHd/lmrGubQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] shadow: Update login.defs to remove reference to cracklib Date: Mon, 25 Mar 2024 14:41:38 +0100 Message-ID: <20240325134138.20207-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: YSAU6ZKZIFFUFW6Y6W3JIDGUSKBHTTIQ X-Message-ID-Hash: YSAU6ZKZIFFUFW6Y6W3JIDGUSKBHTTIQ X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - 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 --- 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) #