diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index b2172d9..b6ce9c2 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -16,14 +16,15 @@ license=('GPL2') options=('debug' 'strip') validpgpkeys=('B0C64D14301CC6EFAEDF60E4E4B71D5EEC39C284') # Karel Zak source=("https://www.kernel.org/pub/linux/utils/util-linux/v${_pkgmajor}/${pkgbase}-${_realver}.tar."{xz,sign} - pam-{login,common,runuser,su} + pam-{login,remote,common,runuser,su} 'util-linux.sysusers' '60-rfkill.rules' 'rfkill-unblock_.service' 'rfkill-block_.service') sha256sums=('60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f' 'SKIP' - '99cd77f21ee44a0c5e57b0f3670f711a00496f198fc5704d7e44f5d817c81a0f' + 'ee917d55042f78b8bb03f5467e5233e3e2ddc2fe01e302bc53b218003fe22275' + '8bfbee453618ba44d60ba7fb00eced6c62edebfc592f2e75dede08e769ed8931' '57e057758944f4557762c6def939410c04ca5803cbdd2bfa2153ce47ffe7a4af' '48d6fba767631e3dd3620cf02a71a74c5d65a525d4c4ce4b5a0b7d9f41ebfea1' '3f54249ac2db44945d6d12ec728dcd0d69af0735787a8b078eacd2c67e38155b' @@ -65,6 +66,7 @@ package_util-linux() { backup=(etc/pam.d/chfn etc/pam.d/chsh etc/pam.d/login + etc/pam.d/remote etc/pam.d/runuser etc/pam.d/runuser-l etc/pam.d/su @@ -81,6 +83,7 @@ package_util-linux() { install -Dm0644 "${srcdir}/pam-common" "${pkgdir}/etc/pam.d/chfn" install -m0644 "${srcdir}/pam-common" "${pkgdir}/etc/pam.d/chsh" install -m0644 "${srcdir}/pam-login" "${pkgdir}/etc/pam.d/login" + install -m0644 "${srcdir}/pam-remote" "${pkgdir}/etc/pam.d/remote" install -m0644 "${srcdir}/pam-runuser" "${pkgdir}/etc/pam.d/runuser" install -m0644 "${srcdir}/pam-runuser" "${pkgdir}/etc/pam.d/runuser-l" install -m0644 "${srcdir}/pam-su" "${pkgdir}/etc/pam.d/su" diff --git a/trunk/pam-login b/trunk/pam-login index 2dac6ab..28f6fc5 100644 --- a/trunk/pam-login +++ b/trunk/pam-login @@ -1,6 +1,5 @@ #%PAM-1.0 -auth required pam_securetty.so auth requisite pam_nologin.so auth include system-local-login account include system-local-login diff --git a/trunk/pam-remote b/trunk/pam-remote new file mode 100644 index 0000000..7fce079 --- /dev/null +++ b/trunk/pam-remote @@ -0,0 +1,8 @@ +#%PAM-1.0 + +auth required pam_securetty.so +auth requisite pam_nologin.so +auth include system-remote-login +account include system-remote-login +session include system-remote-login +password include system-remote-login