Skip to content

Commit 2eae5ae

Browse files
etc/login.defs: Remove defaults for password expiration
Expiring passwords has been determined to decrease safety. Let's default to not expiring passwords. Signed-off-by: Alejandro Colomar <alx@kernel.org>
1 parent d5c03d6 commit 2eae5ae

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

etc/login.defs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,9 @@ UMASK 022
209209
#
210210
# Password aging controls:
211211
#
212-
# PASS_MAX_DAYS Maximum number of days a password may be used.
213-
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
214212
# PASS_MIN_LEN Minimum acceptable password length.
215-
# PASS_WARN_AGE Number of days warning given before a password expires.
216213
#
217-
PASS_MAX_DAYS 99999
218-
PASS_MIN_DAYS 0
219214
PASS_MIN_LEN 5
220-
PASS_WARN_AGE 7
221215

222216
#
223217
# If "yes", the user must be listed as a member of the first gid 0 group

0 commit comments

Comments
 (0)