From 1f0ac29e17b6dd94a8a1a14a91419460ee5bc867 Mon Sep 17 00:00:00 2001 From: pepe Date: Sun, 28 May 2023 03:50:23 +0000 Subject: [PATCH] :( --- etc/login.defs | 7 +++++-- man/Makefile.am | 2 -- src/Makefile.am | 3 +-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/login.defs b/etc/login.defs index 114dbcd9..45bf9c75 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/local/bin # # 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..709fd84e 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -29,7 +29,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 +94,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 \