From 2fefc0864bb2912cee7792921974629906b1ed2d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Oct 2011 06:47:05 +0200 Subject: [PATCH] shadow: enable pam_loginuid and pam_systemd for pam.d/login. --- srcpkgs/shadow/files/login.pam | 5 +++++ srcpkgs/shadow/template | 1 + 2 files changed, 6 insertions(+) diff --git a/srcpkgs/shadow/files/login.pam b/srcpkgs/shadow/files/login.pam index ad3e3a8a07..7dcd83da9b 100644 --- a/srcpkgs/shadow/files/login.pam +++ b/srcpkgs/shadow/files/login.pam @@ -2,13 +2,18 @@ auth requisite pam_nologin.so auth required pam_securetty.so auth required pam_unix.so + account required pam_access.so account required pam_unix.so + session required pam_env.so session required pam_motd.so session required pam_limits.so session optional pam_mail.so dir=/var/mail standard session optional pam_lastlog.so session required pam_unix.so +session required pam_loginuid.so +session required pam_systemd.so kill-session-processes=1 + password required pam_cracklib.so try_first_pass retry=3 password required pam_unix.so sha512 shadow nullok try_first_pass use_authtok diff --git a/srcpkgs/shadow/template b/srcpkgs/shadow/template index c2172f785b..0de81b7f67 100644 --- a/srcpkgs/shadow/template +++ b/srcpkgs/shadow/template @@ -1,6 +1,7 @@ # Template file for 'shadow' pkgname=shadow version=4.1.4.3 +revision=1 distfiles="http://pkg-shadow.alioth.debian.org/releases/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--libdir=/lib --enable-shared --disable-static