summaryrefslogtreecommitdiff
blob: 57c204e44201a8226884b2a6c22fec548dc8debc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -urN a/passwd.in b/passwd.in
--- a/passwd.in	2015-02-14 06:57:45.000000000 +0300
+++ b/passwd.in	2018-04-02 12:33:08.304214918 +0300
@@ -1,6 +1,7 @@
-auth       sufficient   pam_rootok.so
-auth       include	system-auth
+auth		sufficient	pam_rootok.so
+auth		include		system-auth
 
-account    include	system-auth
+account		include		system-auth
 
-password   include	system-auth
+password	include		system-auth
+-password	optional	pam_gnome_keyring.so UNIX_AUTHTOK
diff -urN a/system-login.in b/system-login.in
--- a/system-login.in	2015-02-14 06:57:45.000000000 +0300
+++ b/system-login.in	2018-04-02 12:33:01.272010095 +0300
@@ -8,9 +8,6 @@
 auth		required	pam_nologin.so DEBUG_NOLOGIN
 #endif
 auth		include		system-auth
-#if HAVE_GNOME_KEYRING
-auth		optional	pam_gnome_keyring.so
-#endif
 
 #if HAVE_ACCESS
 account		required	pam_access.so DEBUG
@@ -27,9 +24,6 @@
 #endif
 
 password	include		system-auth
-#if HAVE_GNOME_KEYRING
-password	optional	pam_gnome_keyring.so
-#endif
 
 #if HAVE_LOGINUID
 session         optional        pam_loginuid.so
@@ -51,9 +45,6 @@
 # Note: modules that run in the user's context must come after this line.
 session		required	pam_selinux.so multiple open
 #endif
-#if HAVE_GNOME_KEYRING
-session		optional	pam_gnome_keyring.so auto_start
-#endif
 #if HAVE_MOTD
 session		optional	pam_motd.so motd=/etc/motd
 #endif