!40 fix root can not input passwd bug
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
607cc617c4
35
0001-fix-root-can-not-input-passwd-bug.patch
Normal file
35
0001-fix-root-can-not-input-passwd-bug.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 0cbee5c060d55abb52f2633e9126968183f4abd7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: pei-jiankang <peijiankang@kylinos.cn>
|
||||||
|
Date: Wed, 2 Mar 2022 15:42:17 +0800
|
||||||
|
Subject: [PATCH] fix root can not input passwd bug
|
||||||
|
|
||||||
|
---
|
||||||
|
data/ukui-screensaver-qt | 16 ++++------------
|
||||||
|
1 file changed, 4 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/ukui-screensaver-qt b/data/ukui-screensaver-qt
|
||||||
|
index 8ac0d54..672fb54 100644
|
||||||
|
--- a/data/ukui-screensaver-qt
|
||||||
|
+++ b/data/ukui-screensaver-qt
|
||||||
|
@@ -1,14 +1,6 @@
|
||||||
|
auth requisite pam_nologin.so
|
||||||
|
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
|
||||||
|
-
|
||||||
|
-@include common-auth
|
||||||
|
-auth optional pam_gnome_keyring.so
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-#If you are using Arch,comment out the
|
||||||
|
-#above and use the following.
|
||||||
|
-
|
||||||
|
-#auth include system-auth
|
||||||
|
-#account include system-auth
|
||||||
|
-#password include system-auth
|
||||||
|
-#session include system-auth
|
||||||
|
+auth include system-auth
|
||||||
|
+account include system-auth
|
||||||
|
+password include system-auth
|
||||||
|
+session include system-auth
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: ukui-screensaver
|
Name: ukui-screensaver
|
||||||
Version: 3.1.1
|
Version: 3.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Screensaver for UKUI desktop environment
|
Summary: Screensaver for UKUI desktop environment
|
||||||
License: GPL-3+ and GPL-2+
|
License: GPL-3+ and GPL-2+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Patch01: 0001-fix-root-can-not-input-passwd-bug.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
@ -35,6 +36,7 @@ provided by biometric-auth service.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cmake .
|
cmake .
|
||||||
@ -69,6 +71,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
|
|||||||
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
|
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-2
|
||||||
|
- fix root can not input passwd bug
|
||||||
|
|
||||||
* Tue Dec 6 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-1
|
* Tue Dec 6 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-1
|
||||||
- update version to 3.1.1
|
- update version to 3.1.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user