3
0
forked from pool/util-linux
Dominique Leuenberger 2023-04-08 15:38:16 +00:00 committed by Git OBS Bridge
commit b652f8ab09
3 changed files with 14 additions and 1 deletions

View File

@ -4,5 +4,5 @@ auth include common-auth
account sufficient pam_rootok.so account sufficient pam_rootok.so
account include common-account account include common-account
password include common-password password include common-password
session include common-session session include common-session-nonlogin
session optional pam_xauth.so session optional pam_xauth.so

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 31 13:02:13 UTC 2023 - Michal Koutný <mkoutny@suse.com>
- su.pamd: Fixup common-session-nonlogin usage
- runuser.pamd, su.pamd: Guard common-session-nonlogin away for <=15 codestreams
More info in https://github.com/SUSE/pam-config/pull/16
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 27 08:10:15 UTC 2023 - Thorsten Kukuk <kukuk@suse.com> Mon Mar 27 08:10:15 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -549,8 +549,14 @@ mkdir -p %{buildroot}{%{_distconfdir}/default,%{_pam_vendordir},%{_sysconfdir}/i
install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
install -m 644 %{SOURCE8} %{buildroot}%{_pam_vendordir}/login install -m 644 %{SOURCE8} %{buildroot}%{_pam_vendordir}/login
install -m 644 %{SOURCE9} %{buildroot}%{_pam_vendordir}/remote install -m 644 %{SOURCE9} %{buildroot}%{_pam_vendordir}/remote
%if 0%{?suse_version} <= 1500
sed -i '/^session/s/common-session-nonlogin/common-session/g' %{SOURCE14}
%endif
install -m 644 %{SOURCE14} %{buildroot}%{_pam_vendordir}/runuser install -m 644 %{SOURCE14} %{buildroot}%{_pam_vendordir}/runuser
install -m 644 %{SOURCE15} %{buildroot}%{_pam_vendordir}/runuser-l install -m 644 %{SOURCE15} %{buildroot}%{_pam_vendordir}/runuser-l
%if 0%{?suse_version} <= 1500
sed -i '/^session/s/common-session-nonlogin/common-session/g' %{SOURCE10}
%endif
install -m 644 %{SOURCE10} %{buildroot}%{_pam_vendordir}/su install -m 644 %{SOURCE10} %{buildroot}%{_pam_vendordir}/su
install -m 644 %{SOURCE16} %{buildroot}%{_pam_vendordir}/su-l install -m 644 %{SOURCE16} %{buildroot}%{_pam_vendordir}/su-l
install -m 644 %{SOURCE11} %{buildroot}%{_distconfdir}/default/su install -m 644 %{SOURCE11} %{buildroot}%{_distconfdir}/default/su