From b2d952c7f85ccb953bd7971d036b05355da1d215 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 14 Jun 2018 19:56:05 +0000 Subject: [PATCH] shadow: updated to 4.5 --- shadow/.footprint | 4 ++-- shadow/.md5sum | 4 ++-- shadow/Pkgfile | 4 ++-- shadow/login.defs | 6 +++++- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/shadow/.footprint b/shadow/.footprint index 761c414..43f12a7 100644 --- a/shadow/.footprint +++ b/shadow/.footprint @@ -16,9 +16,9 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/faillog -rwxr-xr-x root/root usr/bin/groups -rwxr-xr-x root/root usr/bin/lastlog --rwxr-xr-x root/root usr/bin/newgidmap +-rwsr-xr-x root/root usr/bin/newgidmap -rwsr-xr-x root/root usr/bin/newgrp --rwxr-xr-x root/root usr/bin/newuidmap +-rwsr-xr-x root/root usr/bin/newuidmap -rwsr-xr-x root/root usr/bin/passwd lrwxrwxrwx root/root usr/bin/sg -> newgrp -rwsr-xr-x root/root usr/bin/su diff --git a/shadow/.md5sum b/shadow/.md5sum index 0593bb3..06f9953 100644 --- a/shadow/.md5sum +++ b/shadow/.md5sum @@ -1,3 +1,3 @@ -05a85f1ea6bf26aec66a91b5f98a51b0 login.defs +80756b2d5b3351b3757f48ae69fe866d login.defs be8f69c2701118093af3d7f3bc02af16 pwck -ff357d9d232f6ad55a4d8b93f78caff7 shadow-4.4.tar.xz +c350da50c2120de6bb29177699d89fe3 shadow-4.5.tar.xz diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 8a06859..f4dbaaf 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -5,13 +5,13 @@ # Depends on: name=shadow -version=4.4 +version=4.5 release=1 source=(http://crux.nu/files/distfiles/$name-$version.tar.xz pwck login.defs) build() { - cd $name-upstream-$version + cd $name-$version echo "ac_cv_func_setpgrp_void=yes" >> config.cache diff --git a/shadow/login.defs b/shadow/login.defs index 69b71df..5eaaae6 100644 --- a/shadow/login.defs +++ b/shadow/login.defs @@ -36,13 +36,17 @@ UID_MIN 100 UID_MAX 60000 GID_MIN 100 GID_MAX 60000 +SYS_UID_MIN 25 +SYS_UID_MAX 99 +SYS_GID_MIN 25 +SYS_GID_MAX 99 LOGIN_RETRIES 5 LOGIN_TIMEOUT 60 PASS_CHANGE_TRIES 5 PASS_ALWAYS_WARN yes CHFN_AUTH yes CHFN_RESTRICT rwh -ENCRYPT_METHOD MD5 +ENCRYPT_METHOD SHA512 PASS_MAX_LEN 8 DEFAULT_HOME yes USERGROUPS_ENAB no -- 2.26.2