From d0ab7d6e2d35beeb80c398f23b553a2578427f82 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Sat, 13 Jul 2019 08:03:04 +0200 Subject: [PATCH] shadow: fixed pam support --- shadow/.footprint | 23 +++++++---------------- shadow/.signature | 6 +++--- shadow/Pkgfile | 4 ++-- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/shadow/.footprint b/shadow/.footprint index 2bbace1..8aa5cd4 100644 --- a/shadow/.footprint +++ b/shadow/.footprint @@ -6,17 +6,13 @@ drwxr-xr-x root/root etc/cron/daily/ -rwxr-xr-x root/root etc/cron/daily/pwck -rw-r--r-- root/root etc/login.defs drwxr-xr-x root/root etc/pam.d/ --rw-r--r-- root/root etc/pam.d/chage -rw-r--r-- root/root etc/pam.d/chfn --rw-r--r-- root/root etc/pam.d/chgpasswd --rw-r--r-- root/root etc/pam.d/chpasswd -rw-r--r-- root/root etc/pam.d/chsh -rw-r--r-- root/root etc/pam.d/groupadd -rw-r--r-- root/root etc/pam.d/groupdel -rw-r--r-- root/root etc/pam.d/groupmems -rw-r--r-- root/root etc/pam.d/groupmod -rw-r--r-- root/root etc/pam.d/login --rw-r--r-- root/root etc/pam.d/newusers -rw-r--r-- root/root etc/pam.d/passwd -rw-r--r-- root/root etc/pam.d/su -rw-r--r-- root/root etc/pam.d/useradd @@ -40,21 +36,16 @@ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/sg -> newgrp -rwsr-xr-x root/root usr/bin/su drwxr-xr-x root/root usr/sbin/ --rw-r--r-- root/root usr/sbin/chfn -rwxr-xr-x root/root usr/sbin/chgpasswd --rw-r--r-- root/root usr/sbin/chsh --rw-r--r-- root/root usr/sbin/groupadd --rw-r--r-- root/root usr/sbin/groupdel --rw-r--r-- root/root usr/sbin/groupmems --rw-r--r-- root/root usr/sbin/groupmod +-rwxr-xr-x root/root usr/sbin/groupadd +-rwxr-xr-x root/root usr/sbin/groupdel +-rwxr-xr-x root/root usr/sbin/groupmems +-rwxr-xr-x root/root usr/sbin/groupmod -rwxr-xr-x root/root usr/sbin/grpck --rw-r--r-- root/root usr/sbin/login --rw-r--r-- root/root usr/sbin/passwd -rwxr-xr-x root/root usr/sbin/pwck --rw-r--r-- root/root usr/sbin/su --rw-r--r-- root/root usr/sbin/useradd --rw-r--r-- root/root usr/sbin/userdel --rw-r--r-- root/root usr/sbin/usermod +-rwxr-xr-x root/root usr/sbin/useradd +-rwxr-xr-x root/root usr/sbin/userdel +-rwxr-xr-x root/root usr/sbin/usermod lrwxrwxrwx root/root usr/sbin/vigr -> vipw -rwxr-xr-x root/root usr/sbin/vipw drwxr-xr-x root/root usr/share/ diff --git a/shadow/.signature b/shadow/.signature index f64e45c..0686259 100644 --- a/shadow/.signature +++ b/shadow/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/core-arm64.pub -RWSKslkvIwb+2U/K1xFk57UD/iv7vXSAPB0gzjSty6Y31yiHLvspyKUX14OIoDeik2AmhILAR6o6jjMYd+6Ivpx7GNvtT+JSKAc= -SHA256 (Pkgfile) = 4a6a102be0cb5bbdf38edbc648b0ef6147cbd1f8c58fc395b438aff3a52a94f1 -SHA256 (.footprint) = 17c281f8a824da1e9a3e0540213b72364118d78cc75202bcf83eafd1f1f1d3e5 +RWSKslkvIwb+2UNQcH2W2oUZ2HJDzPelq2dZZYI/xWJcbi8NNMIKmI8RyT2sb0cUY454JheGY5Fk59+jH79DuSuowESJeA2ABgI= +SHA256 (Pkgfile) = d9d7dfdd3b83728df47cdcdbb65f879487702a95f460290cf7835d9d9f846096 +SHA256 (.footprint) = 63fc924400dd4fcaf8a613912291d830ae89c2fa3cc17983f06f0d54597f3640 SHA256 (shadow-4.6.tar.xz) = 0998c8d84242a231ab0acb7f8613927ff5bcff095f8aa6b79478893a03f05583 SHA256 (pwck) = c62f1bf5785c2bb93bb269156bfa02b06728a01ff5d6c2e09cf6285701a1fda0 SHA256 (login.defs) = def991c4bc012834d726a4010783634a930558b91650bc4cba5fe822064c3535 diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 430018f..d0ffbbb 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -38,9 +38,9 @@ build() { $PKG/usr/share/man/man8/{newusers.8,pwconv.8,pwunconv.8} \ $PKG/usr/share/man/man5/gshadow.5 \ $PKG/usr/share/man/man3 \ - $PKG/etc/default + $PKG/etc/{default,pam.d/*} install -o root -g root -m 0644 \ $SRC/{ch{fn,sh},login,group{add,del,mems,mod},passwd,su,user{add,del,mod}} \ - $PKG/usr/sbin/ + $PKG/etc/pam.d/ } -- 2.26.2