Fix bug #3169 - set suid bit for /sbin/unix_chkpwd

This commit is contained in:
Alexander Kazancev 2013-11-17 10:53:12 +04:00
parent 2b9651f2a1
commit 68d0f03903

View file

@ -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