login.defs: remove incomplete list of unused vars

This commit is contained in:
Chris Hofstaedtler
2024-07-07 14:14:13 +02:00
parent a5d765523b
commit fd652cdf40

View File

@@ -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
+
+
+