From 68d0f039037db44707da8562544061880c562bf0 Mon Sep 17 00:00:00 2001 From: Alexander Kazancev Date: Sun, 17 Nov 2013 10:53:12 +0400 Subject: [PATCH] Fix bug #3169 - set suid bit for /sbin/unix_chkpwd --- pam.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pam.spec b/pam.spec index 8d353fc..8a2b326 100644 --- a/pam.spec +++ b/pam.spec @@ -19,7 +19,7 @@ Epoch: 1 Summary: A security tool which provides authentication for applications Name: pam Version: 1.1.4 -Release: 12 +Release: 13 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, License: BSD and GPLv2+ @@ -233,6 +233,9 @@ done rm -f %{buildroot}/%{_lib}/security/*.la rm -f %{buildroot}/%{_lib}/*.la +#Set suid bit for /sbin/unix_chkpwd (bug #3169) +chmod u+s %{buildroot}/sbin/unix_chkpwd + %find_lang Linux-PAM %check