[packages/util-linux] - rel 2; use postlogin pam config
arekm
arekm at pld-linux.org
Sun Nov 2 22:05:30 CET 2014
commit 0cce356cbb6ec0c8f7b8e17edcd303cb4102ffea
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Nov 2 22:05:10 2014 +0100
- rel 2; use postlogin pam config
login.pamd | 2 ++
su.pamd | 2 ++
util-linux.spec | 4 ++--
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/util-linux.spec b/util-linux.spec
index 977473b..af86774 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -23,7 +23,7 @@
%if "%{pld_release}" == "ac"
%define pam_ver 0.79.0
%else
-%define pam_ver 0.99.7.1
+%define pam_ver 1.1.8-5
%endif
Summary: Collection of basic system utilities for Linux
@@ -37,7 +37,7 @@ Summary(tr.UTF-8): Temel sistem araçları
Summary(uk.UTF-8): Набір базових системних утиліт для Linux
Name: util-linux
Version: 2.25.2
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Source0: https://www.kernel.org/pub/linux/utils/util-linux/v2.25/%{name}-%{version}.tar.xz
diff --git a/login.pamd b/login.pamd
index 874e85b..e45cd66 100644
--- a/login.pamd
+++ b/login.pamd
@@ -2,6 +2,7 @@
auth required pam_listfile.so item=user sense=deny file=/etc/security/blacklist.login onerr=succeed
auth required pam_securetty.so
auth include system-auth
+auth include postlogin
account required pam_shells.so
account required pam_nologin.so
account required pam_access.so
@@ -11,6 +12,7 @@ password include system-auth
# session required pam_selinux.so close
session required pam_loginuid.so
session include system-auth
+session include postlogin
session optional pam_console.so
session optional pam_mail.so
#session optional pam_motd.so motd=/etc/motd
diff --git a/su.pamd b/su.pamd
index 013bb59..4ed4fc6 100644
--- a/su.pamd
+++ b/su.pamd
@@ -2,8 +2,10 @@
auth sufficient pam_rootok.so
auth required pam_wheel.so group=wheel use_uid
auth include system-auth
+auth include postlogin
account sufficient pam_succeed_if.so uid = 0 use_uid quiet
account include system-auth
password include system-auth
session optional pam_xauth.so
session include system-auth
+session include postlogin
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/util-linux.git/commitdiff/0cce356cbb6ec0c8f7b8e17edcd303cb4102ffea
More information about the pld-cvs-commit
mailing list