summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/at/pam.conf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/at/at/pam.conf.patch')
-rw-r--r--meta/recipes-extended/at/at/pam.conf.patch40
1 files changed, 24 insertions, 16 deletions
diff --git a/meta/recipes-extended/at/at/pam.conf.patch b/meta/recipes-extended/at/at/pam.conf.patch
index b5ceb9ae82..c9f337ede0 100644
--- a/meta/recipes-extended/at/at/pam.conf.patch
+++ b/meta/recipes-extended/at/at/pam.conf.patch
@@ -1,27 +1,35 @@
1From 8c8a0b6ba199327d2eafefd6611353e1c483a854 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 5 Dec 2018 10:00:36 +0800
4Subject: [PATCH] fix pam.conf
5
1oe doesn't support "@include", use the concrete directive instead. 6oe doesn't support "@include", use the concrete directive instead.
2 7
3Upstream-Status: Pending 8Upstream-Status: Pending
4 9
5Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 10Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
6Index: at-3.1.15/pam.conf 11Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
7=================================================================== 12---
8--- at-3.1.15.orig/pam.conf 13 pam.conf | 6 +++---
9+++ at-3.1.15/pam.conf 14 1 file changed, 3 insertions(+), 3 deletions(-)
10@@ -1,10 +1,11 @@ 15
11 # 16diff --git a/pam.conf b/pam.conf
17index 3674c0a..2f8d586 100644
18--- a/pam.conf
19+++ b/pam.conf
20@@ -2,9 +2,9 @@
12 # The PAM configuration file for the at daemon 21 # The PAM configuration file for the at daemon
13 # 22 #
14+
15+auth required pam_env.so
16+auth include common-auth
17+account include common-account
18+session include common-session-noninteractive
19+session required pam_limits.so
20+session required pam_loginuid.so
21 23
22-auth required pam_env.so
23-@include common-auth 24-@include common-auth
24-@include common-account 25-@include common-account
25-session required pam_loginuid.so 26+auth include common-auth
27+acount include common-account
28 session required pam_loginuid.so
26-@include common-session-noninteractive 29-@include common-session-noninteractive
27-session required pam_limits.so 30+session include common-session-noninteractive
31 session required pam_limits.so
32 auth required pam_env.so user_readenv=1
33--
342.7.4
35