modify pam module
This commit is contained in:
parent
9329039cff
commit
90a1712be6
25
0003-modify-pam-module.patch
Normal file
25
0003-modify-pam-module.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From d42362b527f2bf34502875316da13e9e65fe58e6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong2021 <tanyulong@kylinos.cn>
|
||||||
|
Date: Mon, 1 Aug 2022 14:09:01 +0800
|
||||||
|
Subject: [PATCH] modify pam module
|
||||||
|
|
||||||
|
---
|
||||||
|
pam-biometric/pam_biometric.c | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/pam-biometric/pam_biometric.c b/pam-biometric/pam_biometric.c
|
||||||
|
index ecf55c9..1d7dbbb 100755
|
||||||
|
--- a/pam-biometric/pam_biometric.c
|
||||||
|
+++ b/pam-biometric/pam_biometric.c
|
||||||
|
@@ -454,3 +454,8 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc,
|
||||||
|
logger("Service <%s> slip through the service filter\n", service);
|
||||||
|
return PAM_IGNORE;
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+int pam_sm_setcred(pam_handle_t *pamh , int flags , int argc , const char **argv)
|
||||||
|
+{
|
||||||
|
+ return PAM_SUCCESS;
|
||||||
|
+}
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
Name: ukui-biometric-auth
|
Name: ukui-biometric-auth
|
||||||
Summary: ukui-biometric-auth
|
Summary: ukui-biometric-auth
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 6
|
Release: 7
|
||||||
|
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
URL: https://github.com/ukui/ukui-biometric-auth
|
URL: https://github.com/ukui/ukui-biometric-auth
|
||||||
@ -15,6 +15,7 @@ Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel
|
|||||||
|
|
||||||
Patch0: 0001-add-window-icon.patch
|
Patch0: 0001-add-window-icon.patch
|
||||||
Patch1: 0002-add-and-use-attribute-of-UseHighDpiPixmaps.patch
|
Patch1: 0002-add-and-use-attribute-of-UseHighDpiPixmaps.patch
|
||||||
|
Patch2: 0003-modify-pam-module.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ukui-biometric-auth
|
ukui-biometric-auth
|
||||||
@ -47,6 +48,7 @@ biometric-auth package.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
@ -81,6 +83,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-7
|
||||||
|
- modify pam module
|
||||||
|
|
||||||
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-6
|
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-6
|
||||||
- add and use attribute of UseHighDpiPixmaps
|
- add and use attribute of UseHighDpiPixmaps
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user