blob: 3b61b75e5bbc05ad71713286b60c0e0341ed4395 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001The system-auth in the configure files is from Fedora which put all the 4 pam type rules
2in one file.
3In yocto it obey the way with Debian/Ubuntu, and the names are common-auth, common-account,
4common-password and common-session.
5So update them with oe way.
6
Patrick Williams92b42cb2022-09-03 06:53:57 -05007See meta/recipes-extended/pam/libpam/pam.d/common-password
8
9Upstream-Status: Inappropriate [oe-core specific]
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010
11Signed-off-by: Kang Kai <kai.kang@windriver.com>
12
13diff -Nur shadow-4.1.4.3/etc/pam.d.orig/chage shadow-4.1.4.3/etc/pam.d/chage
14--- shadow-4.1.4.3/etc/pam.d.orig/chage 2011-07-20 19:02:27.384844958 +0800
15+++ shadow-4.1.4.3/etc/pam.d/chage 2011-07-20 19:03:08.964844958 +0800
16@@ -1,4 +1,4 @@
17 #%PAM-1.0
18 auth sufficient pam_rootok.so
19 account required pam_permit.so
20-password include system-auth
21+password include common-password
22diff -Nur shadow-4.1.4.3/etc/pam.d.orig/chgpasswd shadow-4.1.4.3/etc/pam.d/chgpasswd
23--- shadow-4.1.4.3/etc/pam.d.orig/chgpasswd 2011-07-20 19:02:27.384844958 +0800
24+++ shadow-4.1.4.3/etc/pam.d/chgpasswd 2011-07-20 19:03:26.544844958 +0800
25@@ -1,4 +1,4 @@
26 #%PAM-1.0
27 auth sufficient pam_rootok.so
28 account required pam_permit.so
29-password include system-auth
30+password include common-password
31diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupadd shadow-4.1.4.3/etc/pam.d/groupadd
32--- shadow-4.1.4.3/etc/pam.d.orig/groupadd 2011-07-20 19:02:27.384844958 +0800
33+++ shadow-4.1.4.3/etc/pam.d/groupadd 2011-07-20 19:04:08.124844958 +0800
34@@ -1,4 +1,4 @@
35 #%PAM-1.0
36 auth sufficient pam_rootok.so
37 account required pam_permit.so
38-password include system-auth
39+password include common-password
40diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupdel shadow-4.1.4.3/etc/pam.d/groupdel
41--- shadow-4.1.4.3/etc/pam.d.orig/groupdel 2011-07-20 19:02:27.384844958 +0800
42+++ shadow-4.1.4.3/etc/pam.d/groupdel 2011-07-20 19:04:26.114844958 +0800
43@@ -1,4 +1,4 @@
44 #%PAM-1.0
45 auth sufficient pam_rootok.so
46 account required pam_permit.so
47-password include system-auth
48+password include common-password
49diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupmems shadow-4.1.4.3/etc/pam.d/groupmems
50--- shadow-4.1.4.3/etc/pam.d.orig/groupmems 2011-07-20 19:02:27.384844958 +0800
51+++ shadow-4.1.4.3/etc/pam.d/groupmems 2011-07-20 19:04:35.074844958 +0800
52@@ -1,4 +1,4 @@
53 #%PAM-1.0
54 auth sufficient pam_rootok.so
55 account required pam_permit.so
56-password include system-auth
57+password include common-password
58diff -Nur shadow-4.1.4.3/etc/pam.d.orig/groupmod shadow-4.1.4.3/etc/pam.d/groupmod
59--- shadow-4.1.4.3/etc/pam.d.orig/groupmod 2011-07-20 19:02:27.384844958 +0800
60+++ shadow-4.1.4.3/etc/pam.d/groupmod 2011-07-20 19:04:44.864844958 +0800
61@@ -1,4 +1,4 @@
62 #%PAM-1.0
63 auth sufficient pam_rootok.so
64 account required pam_permit.so
65-password include system-auth
66+password include common-password
67diff -Nur shadow-4.1.4.3/etc/pam.d.orig/useradd shadow-4.1.4.3/etc/pam.d/useradd
68--- shadow-4.1.4.3/etc/pam.d.orig/useradd 2011-07-20 19:02:27.384844958 +0800
69+++ shadow-4.1.4.3/etc/pam.d/useradd 2011-07-20 19:07:26.244844958 +0800
70@@ -1,4 +1,4 @@
71 #%PAM-1.0
72 auth sufficient pam_rootok.so
73 account required pam_permit.so
74-password include system-auth
75+password include common-password
76diff -Nur shadow-4.1.4.3/etc/pam.d.orig/userdel shadow-4.1.4.3/etc/pam.d/userdel
77--- shadow-4.1.4.3/etc/pam.d.orig/userdel 2011-07-20 19:02:27.384844958 +0800
78+++ shadow-4.1.4.3/etc/pam.d/userdel 2011-07-20 19:07:35.734844958 +0800
79@@ -1,4 +1,4 @@
80 #%PAM-1.0
81 auth sufficient pam_rootok.so
82 account required pam_permit.so
83-password include system-auth
84+password include common-password
85diff -Nur shadow-4.1.4.3/etc/pam.d.orig/usermod shadow-4.1.4.3/etc/pam.d/usermod
86--- shadow-4.1.4.3/etc/pam.d.orig/usermod 2011-07-20 19:02:27.384844958 +0800
87+++ shadow-4.1.4.3/etc/pam.d/usermod 2011-07-20 19:07:42.024844958 +0800
88@@ -1,4 +1,4 @@
89 #%PAM-1.0
90 auth sufficient pam_rootok.so
91 account required pam_permit.so
92-password include system-auth
93+password include common-password