summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2013-07-28 18:49:00 +0200
committerChristian Perrier <bubulle@debian.org>2013-07-28 18:49:00 +0200
commit08807ee3fc55908070f571126f32cd84437e2fb1 (patch)
treee7638e005e2c550be29d6e6622071e6ac0ebb1bf
parent80a1bae6fed766f64eb69c54dcf2e9e0b4bc3349 (diff)
downloadshadow-08807ee3fc55908070f571126f32cd84437e2fb1.tar.gz
Add pam_loginuid to login PAM sattings. Closes: #677441
-rw-r--r--debian/changelog1
-rw-r--r--debian/login.pam3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 836e5d80..82e027d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ shadow (1:4.2-1) UNRELEASED; urgency=low
Closes: #713979
* Moved to git: replace Vcs-Git in place of Vcs-Svn and adapt
Vcs-Browser.
+ * Add pam_loginuid to login PAM sattings. Closes: #677441
-- Christian Perrier <bubulle@debian.org> Sat, 27 Jul 2013 20:07:18 +0200
diff --git a/debian/login.pam b/debian/login.pam
index 14dc2cdd..3221a720 100644
--- a/debian/login.pam
+++ b/debian/login.pam
@@ -52,6 +52,9 @@ session required pam_env.so readenv=1
# reading this file *in addition to /etc/environment* does not hurt
session required pam_env.so readenv=1 envfile=/etc/default/locale
+# Record user's login uid to the process attribute
+session required pam_loginuid.so
+
# Standard Un*x authentication.
@include common-auth