Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 1 | From 38882ab288fd4d2cc2e45dff222ae3412c8fe357 Mon Sep 17 00:00:00 2001 |
| 2 | From: Kang Kai <kai.kang@windriver.com> |
| 3 | Date: Wed, 20 Jul 2011 19:18:14 +0800 |
| 4 | Subject: [PATCH] shadow: update pam related configure files |
| 5 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | The system-auth in the configure files is from Fedora which put all the 4 pam type rules |
| 7 | in one file. |
| 8 | In yocto it obey the way with Debian/Ubuntu, and the names are common-auth, common-account, |
| 9 | common-password and common-session. |
| 10 | So update them with oe way. |
| 11 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 12 | See meta/recipes-extended/pam/libpam/pam.d/common-password |
| 13 | |
| 14 | Upstream-Status: Inappropriate [oe-core specific] |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | |
| 16 | Signed-off-by: Kang Kai <kai.kang@windriver.com> |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 17 | --- |
| 18 | etc/pam.d/chage | 2 +- |
| 19 | etc/pam.d/chgpasswd | 2 +- |
| 20 | etc/pam.d/groupadd | 2 +- |
| 21 | etc/pam.d/groupdel | 2 +- |
| 22 | etc/pam.d/groupmems | 2 +- |
| 23 | etc/pam.d/groupmod | 2 +- |
| 24 | etc/pam.d/useradd | 2 +- |
| 25 | etc/pam.d/userdel | 2 +- |
| 26 | etc/pam.d/usermod | 2 +- |
| 27 | 9 files changed, 9 insertions(+), 9 deletions(-) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 29 | diff --git a/etc/pam.d/chage b/etc/pam.d/chage |
| 30 | index 8f49f5c..b1f365d 100644 |
| 31 | --- a/etc/pam.d/chage |
| 32 | +++ b/etc/pam.d/chage |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 33 | @@ -1,4 +1,4 @@ |
| 34 | #%PAM-1.0 |
| 35 | auth sufficient pam_rootok.so |
| 36 | account required pam_permit.so |
| 37 | -password include system-auth |
| 38 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 39 | diff --git a/etc/pam.d/chgpasswd b/etc/pam.d/chgpasswd |
| 40 | index 8f49f5c..b1f365d 100644 |
| 41 | --- a/etc/pam.d/chgpasswd |
| 42 | +++ b/etc/pam.d/chgpasswd |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 49 | diff --git a/etc/pam.d/groupadd b/etc/pam.d/groupadd |
| 50 | index 8f49f5c..b1f365d 100644 |
| 51 | --- a/etc/pam.d/groupadd |
| 52 | +++ b/etc/pam.d/groupadd |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 53 | @@ -1,4 +1,4 @@ |
| 54 | #%PAM-1.0 |
| 55 | auth sufficient pam_rootok.so |
| 56 | account required pam_permit.so |
| 57 | -password include system-auth |
| 58 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 59 | diff --git a/etc/pam.d/groupdel b/etc/pam.d/groupdel |
| 60 | index 8f49f5c..b1f365d 100644 |
| 61 | --- a/etc/pam.d/groupdel |
| 62 | +++ b/etc/pam.d/groupdel |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 63 | @@ -1,4 +1,4 @@ |
| 64 | #%PAM-1.0 |
| 65 | auth sufficient pam_rootok.so |
| 66 | account required pam_permit.so |
| 67 | -password include system-auth |
| 68 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 69 | diff --git a/etc/pam.d/groupmems b/etc/pam.d/groupmems |
| 70 | index 8f49f5c..b1f365d 100644 |
| 71 | --- a/etc/pam.d/groupmems |
| 72 | +++ b/etc/pam.d/groupmems |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 73 | @@ -1,4 +1,4 @@ |
| 74 | #%PAM-1.0 |
| 75 | auth sufficient pam_rootok.so |
| 76 | account required pam_permit.so |
| 77 | -password include system-auth |
| 78 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 79 | diff --git a/etc/pam.d/groupmod b/etc/pam.d/groupmod |
| 80 | index 8f49f5c..b1f365d 100644 |
| 81 | --- a/etc/pam.d/groupmod |
| 82 | +++ b/etc/pam.d/groupmod |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 83 | @@ -1,4 +1,4 @@ |
| 84 | #%PAM-1.0 |
| 85 | auth sufficient pam_rootok.so |
| 86 | account required pam_permit.so |
| 87 | -password include system-auth |
| 88 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 89 | diff --git a/etc/pam.d/useradd b/etc/pam.d/useradd |
| 90 | index 8f49f5c..b1f365d 100644 |
| 91 | --- a/etc/pam.d/useradd |
| 92 | +++ b/etc/pam.d/useradd |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 93 | @@ -1,4 +1,4 @@ |
| 94 | #%PAM-1.0 |
| 95 | auth sufficient pam_rootok.so |
| 96 | account required pam_permit.so |
| 97 | -password include system-auth |
| 98 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 99 | diff --git a/etc/pam.d/userdel b/etc/pam.d/userdel |
| 100 | index 8f49f5c..b1f365d 100644 |
| 101 | --- a/etc/pam.d/userdel |
| 102 | +++ b/etc/pam.d/userdel |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 103 | @@ -1,4 +1,4 @@ |
| 104 | #%PAM-1.0 |
| 105 | auth sufficient pam_rootok.so |
| 106 | account required pam_permit.so |
| 107 | -password include system-auth |
| 108 | +password include common-password |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 109 | diff --git a/etc/pam.d/usermod b/etc/pam.d/usermod |
| 110 | index 8f49f5c..b1f365d 100644 |
| 111 | --- a/etc/pam.d/usermod |
| 112 | +++ b/etc/pam.d/usermod |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 113 | @@ -1,4 +1,4 @@ |
| 114 | #%PAM-1.0 |
| 115 | auth sufficient pam_rootok.so |
| 116 | account required pam_permit.so |
| 117 | -password include system-auth |
| 118 | +password include common-password |