From 233543eb0d90b7923ddc334e4efde99f924a62ba Mon Sep 17 00:00:00 2001 From: pepe Date: Thu, 9 Mar 2023 10:46:45 +0000 Subject: [PATCH] :( --- etc/login.defs | 7 +++++-- man/Makefile.am | 5 ----- src/Makefile.am | 3 +-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/etc/login.defs b/etc/login.defs index 114dbcd9..322b2b13 100644 --- a/etc/login.defs +++ b/etc/login.defs @@ -127,7 +127,7 @@ SU_NAME su # Directory where mailboxes reside, _or_ name of file, relative to the # home directory. If you _do_ define both, MAIL_DIR takes precedence. # -MAIL_DIR /var/spool/mail +MAIL_DIR /var/mail #MAIL_FILE .mail # @@ -159,7 +159,7 @@ ENV_HZ HZ=100 # # (they are minimal, add the rest in the shell startup files) ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin -ENV_PATH PATH=/bin:/usr/bin +ENV_PATH PATH=/usr/bin:/usr/sbin # # Terminal permissions @@ -335,6 +335,7 @@ CHFN_RESTRICT rwh # the PAM modules configuration. # #ENCRYPT_METHOD DES +ENCRYPT_METHOD SHA512 # # Only works if ENCRYPT_METHOD is set to SHA256 or SHA512. @@ -351,7 +352,9 @@ CHFN_RESTRICT rwh # If MIN > MAX, the highest value will be used. # #SHA_CRYPT_MIN_ROUNDS 5000 +SHA_CRYPT_MIN_ROUNDS 500000 #SHA_CRYPT_MAX_ROUNDS 5000 +SHA_CRYPT_MAX_ROUNDS 500000 # # Only works if ENCRYPT_METHOD is set to BCRYPT. diff --git a/man/Makefile.am b/man/Makefile.am index 30c73afd..b01a4776 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,10 +1,7 @@ # subdirectories for translated manual pages -if USE_NLS SUBDIRS = po cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr uk zh_CN zh_TW -else SUBDIRS = -endif man_MANS = \ man1/chage.1 \ @@ -29,7 +26,6 @@ man_MANS = \ man8/lastlog.8 \ man1/login.1 \ man5/login.defs.5 \ - man8/logoutd.8 \ man1/newgrp.1 \ man8/newusers.8 \ man8/nologin.8 \ @@ -95,7 +91,6 @@ man_XMANS = \ login.1.xml \ login.access.5.xml \ login.defs.5.xml \ - logoutd.8.xml \ newgidmap.1.xml \ newgrp.1.xml \ newuidmap.1.xml \ diff --git a/src/Makefile.am b/src/Makefile.am index b2ff2697..1acc4a79 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ EXTRA_DIST = \ .indent.pro ubindir = ${prefix}/bin -usbindir = ${prefix}/sbin +usbindir = ${prefix}/bin suidperms = 4755 sgidperms = 2755 @@ -46,7 +46,6 @@ usbin_PROGRAMS = \ grpck \ grpconv \ grpunconv \ - logoutd \ newusers \ pwck \ pwconv \