mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
8dc89e2d3d
Remove groups entries, as that has been removed in favor of the coreutils implementation. Add a patch to support older host compilers. (From OE-Core rev: 8d1041c02c600229b3487bc37f929c2b57f0b3ce) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
119 lines
3.5 KiB
Diff
119 lines
3.5 KiB
Diff
From eb17cd91d8e4d76ee95de9c0c9f4938ba2e3e82a Mon Sep 17 00:00:00 2001
|
|
From: Kang Kai <kai.kang@windriver.com>
|
|
Date: Wed, 20 Jul 2011 19:18:14 +0800
|
|
Subject: [PATCH] shadow: update pam related configure files
|
|
|
|
The system-auth in the configure files is from Fedora which put all the 4 pam type rules
|
|
in one file.
|
|
In yocto it obey the way with Debian/Ubuntu, and the names are common-auth, common-account,
|
|
common-password and common-session.
|
|
So update them with oe way.
|
|
|
|
See meta/recipes-extended/pam/libpam/pam.d/common-password
|
|
|
|
Upstream-Status: Inappropriate [oe-core specific]
|
|
|
|
Signed-off-by: Kang Kai <kai.kang@windriver.com>
|
|
---
|
|
etc/pam.d/chage | 2 +-
|
|
etc/pam.d/chgpasswd | 2 +-
|
|
etc/pam.d/groupadd | 2 +-
|
|
etc/pam.d/groupdel | 2 +-
|
|
etc/pam.d/groupmems | 2 +-
|
|
etc/pam.d/groupmod | 2 +-
|
|
etc/pam.d/useradd | 2 +-
|
|
etc/pam.d/userdel | 2 +-
|
|
etc/pam.d/usermod | 2 +-
|
|
9 files changed, 9 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/etc/pam.d/chage b/etc/pam.d/chage
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/chage
|
|
+++ b/etc/pam.d/chage
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/chgpasswd b/etc/pam.d/chgpasswd
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/chgpasswd
|
|
+++ b/etc/pam.d/chgpasswd
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/groupadd b/etc/pam.d/groupadd
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/groupadd
|
|
+++ b/etc/pam.d/groupadd
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/groupdel b/etc/pam.d/groupdel
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/groupdel
|
|
+++ b/etc/pam.d/groupdel
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/groupmems b/etc/pam.d/groupmems
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/groupmems
|
|
+++ b/etc/pam.d/groupmems
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/groupmod b/etc/pam.d/groupmod
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/groupmod
|
|
+++ b/etc/pam.d/groupmod
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/useradd b/etc/pam.d/useradd
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/useradd
|
|
+++ b/etc/pam.d/useradd
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/userdel b/etc/pam.d/userdel
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/userdel
|
|
+++ b/etc/pam.d/userdel
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|
|
diff --git a/etc/pam.d/usermod b/etc/pam.d/usermod
|
|
index 8f49f5c..b1f365d 100644
|
|
--- a/etc/pam.d/usermod
|
|
+++ b/etc/pam.d/usermod
|
|
@@ -1,4 +1,4 @@
|
|
#%PAM-1.0
|
|
auth sufficient pam_rootok.so
|
|
account required pam_permit.so
|
|
-password include system-auth
|
|
+password include common-password
|