[openssh/f15] Add postlogin to pam. (#718807)

Jan F. Chadima jfch2222 at fedoraproject.org
Thu Jul 14 12:38:49 UTC 2011


commit c6ca976c08cc9210fbb43a698aa1ae333b3c980a
Author: Jan F. Chadima <jfch at eglon.jagda.eu>
Date:   Thu Jul 14 14:38:09 2011 +0200

    Add postlogin to pam. (#718807)

 openssh.spec |    5 ++++-
 sshd.pam     |    2 ++
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 2944cb4..d3a547d 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -71,7 +71,7 @@
 
 # Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
 %define openssh_ver 5.6p1
-%define openssh_rel 31
+%define openssh_rel 32
 %define pam_ssh_agent_ver 0.9.2
 %define pam_ssh_agent_rel 29
 
@@ -606,6 +606,9 @@ fi
 %endif
 
 %changelog
+* Thu Jul 14 2011 Jan F. Chadima <jchadima at redhat.com> - 5.6p2-32 + 0.9.2-29
+- Add postlogin to pam. (#718807)
+
 * Fri Apr 29 2011 Jan F. Chadima <jchadima at redhat.com> - 5.6p1-31 + 0.9.2-29
 - add flags AI_V4MAPPED and AI_ADDRCONFIG to getaddrinfo
 
diff --git a/sshd.pam b/sshd.pam
index bf775a3..7455e91 100644
--- a/sshd.pam
+++ b/sshd.pam
@@ -1,6 +1,7 @@
 #%PAM-1.0
 auth	   required	pam_sepermit.so
 auth       include      password-auth
+auth       include      postlogin
 account    required     pam_nologin.so
 account    include      password-auth
 password   include      password-auth
@@ -11,3 +12,4 @@ session    required     pam_loginuid.so
 session    required     pam_selinux.so open env_params
 session    optional     pam_keyinit.so force revoke
 session    include      password-auth
+session    include      postlogin


More information about the scm-commits mailing list