diff options
Diffstat (limited to 'meta/recipes-extended/at/at/pam.conf.patch')
-rw-r--r-- | meta/recipes-extended/at/at/pam.conf.patch | 40 |
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 @@ | |||
1 | From 8c8a0b6ba199327d2eafefd6611353e1c483a854 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 5 Dec 2018 10:00:36 +0800 | ||
4 | Subject: [PATCH] fix pam.conf | ||
5 | |||
1 | oe doesn't support "@include", use the concrete directive instead. | 6 | oe doesn't support "@include", use the concrete directive instead. |
2 | 7 | ||
3 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
4 | 9 | ||
5 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | 10 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
6 | Index: at-3.1.15/pam.conf | 11 | Signed-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 | # | 16 | diff --git a/pam.conf b/pam.conf |
17 | index 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 | -- | ||
34 | 2.7.4 | ||
35 | |||