!40 fix root can not input passwd bug

From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2022-12-09 09:47:20 +00:00 committed by Gitee
commit 607cc617c4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 41 additions and 1 deletions

View 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

View File

@ -1,10 +1,11 @@
Name: ukui-screensaver
Version: 3.1.1
Release: 1
Release: 2
Summary: Screensaver for UKUI desktop environment
License: GPL-3+ and GPL-2+
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
Patch01: 0001-fix-root-can-not-input-passwd-bug.patch
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
@ -35,6 +36,7 @@ provided by biometric-auth service.
%prep
%setup -q
%patch1 -p1
%build
cmake .
@ -69,6 +71,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
%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
- update version to 3.1.1