From fd652cdf402fa3d717f1081633c229acda4c4b92 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Sun, 7 Jul 2024 14:14:13 +0200 Subject: [PATCH] login.defs: remove incomplete list of unused vars --- .../debian/Adapt-login.defs-for-Debian.patch | 53 ++----------------- 1 file changed, 4 insertions(+), 49 deletions(-) diff --git a/debian/patches/debian/Adapt-login.defs-for-Debian.patch b/debian/patches/debian/Adapt-login.defs-for-Debian.patch index 43d99a70..3e096d5e 100644 --- a/debian/patches/debian/Adapt-login.defs-for-Debian.patch +++ b/debian/patches/debian/Adapt-login.defs-for-Debian.patch @@ -3,11 +3,11 @@ Date: Sun, 7 Jul 2024 14:06:39 +0200 Subject: Adapt login.defs for Debian --- - etc/login.defs | 455 +++++++++++++++++++-------------------------------------- - 1 file changed, 149 insertions(+), 306 deletions(-) + etc/login.defs | 410 +++++++++++++++------------------------------------------ + 1 file changed, 104 insertions(+), 306 deletions(-) diff --git a/etc/login.defs b/etc/login.defs -index 33622c2..4f90a71 100644 +index 33622c2..b0086db 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -1,24 +1,38 @@ @@ -575,53 +575,8 @@ index 33622c2..4f90a71 100644 # # Select the HMAC cryptography algorithm. # Used in pam_timestamp module to calculate the keyed-hash message -@@ -471,3 +268,49 @@ PREVENT_NO_AUTH superuser +@@ -471,3 +268,4 @@ PREVENT_NO_AUTH superuser # that are available in your system. # #HMAC_CRYPTO_ALGO SHA512 + -+################# OBSOLETED BY PAM ############## -+# # -+# These options are now handled by PAM. Please # -+# edit the appropriate file in /etc/pam.d/ to # -+# enable the equivelants of them. -+# -+############### -+ -+#MOTD_FILE -+#DIALUPS_CHECK_ENAB -+#LASTLOG_ENAB -+#MAIL_CHECK_ENAB -+#OBSCURE_CHECKS_ENAB -+#PORTTIME_CHECKS_ENAB -+#SU_WHEEL_ONLY -+#CRACKLIB_DICTPATH -+#PASS_CHANGE_TRIES -+#PASS_ALWAYS_WARN -+#ENVIRON_FILE -+#NOLOGINS_FILE -+#ISSUE_FILE -+#PASS_MIN_LEN -+#PASS_MAX_LEN -+#ULIMIT -+#ENV_HZ -+#CHFN_AUTH -+#CHSH_AUTH -+#FAIL_DELAY -+ -+################# OBSOLETED ####################### -+# # -+# These options are no more handled by shadow. # -+# # -+# Shadow utilities will display a warning if they # -+# still appear. # -+# # -+################################################### -+ -+# CLOSE_SESSIONS -+# LOGIN_STRING -+# NO_PASSWORD_CONSOLE -+# QMAIL_DIR -+ -+ -+