fix password changes for this user and for other use
(cherry picked from commit 648ac5e06e1c18ae64a3906cdf7449c3960fc622)
This commit is contained in:
parent
1c2132d5ad
commit
161bd1abd1
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
Name: ukui-control-center
|
Name: ukui-control-center
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 17
|
Release: 18
|
||||||
Summary: utilities to configure the UKUI desktop
|
Summary: utilities to configure the UKUI desktop
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -18,6 +18,7 @@ Patch13: 0013-Fix-terminal-garbled-characters-when-not-root-user-change-l
|
|||||||
Patch14: 0014-fix-memorysize-of-aboutinfo.patch
|
Patch14: 0014-fix-memorysize-of-aboutinfo.patch
|
||||||
Patch15: fix-changeOtherUserPasswd-critical-vulnerabilities.patch
|
Patch15: fix-changeOtherUserPasswd-critical-vulnerabilities.patch
|
||||||
Patch16: fix-createuser-critical-vulnerabilities.patch
|
Patch16: fix-createuser-critical-vulnerabilities.patch
|
||||||
|
Patch17: ukui-control-center-3.1.2-fix-password-changes-for-this-user-and-for-other-use.patch
|
||||||
|
|
||||||
BuildRequires: qt5-qtsvg-devel
|
BuildRequires: qt5-qtsvg-devel
|
||||||
BuildRequires: gsettings-qt-devel
|
BuildRequires: gsettings-qt-devel
|
||||||
@ -102,8 +103,8 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
|
|||||||
|
|
||||||
systemctl enable ukui-group-manager.service
|
systemctl enable ukui-group-manager.service
|
||||||
systemctl start ukui-group-manager.service
|
systemctl start ukui-group-manager.service
|
||||||
chown root:root /usr/bin/checkUserPwd
|
#chown root:root /usr/bin/checkUserPwd
|
||||||
chmod u+s /usr/bin/checkUserPwd
|
#chmod u+s /usr/bin/checkUserPwd
|
||||||
|
|
||||||
sed -i "1iauth sufficient pam_succeed_if.so user ingroup nopasswdlogin" /etc/pam.d/lightdm
|
sed -i "1iauth sufficient pam_succeed_if.so user ingroup nopasswdlogin" /etc/pam.d/lightdm
|
||||||
groupadd nopasswdlogin &> /dev/null ||:
|
groupadd nopasswdlogin &> /dev/null ||:
|
||||||
@ -121,7 +122,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{_sysconfdir}/dbus-1/system.d/*
|
%{_sysconfdir}/dbus-1/system.d/*
|
||||||
%{_sysconfdir}/pam.d/*
|
|
||||||
/lib/systemd/system/*
|
/lib/systemd/system/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
@ -143,6 +143,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 09 2023 huayadong <huayadong@kylinos.cn> - 3.1.2-18
|
||||||
|
- fix password changes for this user and for other use
|
||||||
|
|
||||||
* Fri May 26 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-17
|
* Fri May 26 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-17
|
||||||
- sync from upstream 3.1.2+2023-0403
|
- sync from upstream 3.1.2+2023-0403
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user