aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorZhixiong Chi <Zhixiong.Chi@windriver.com>2016-03-09 17:19:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-10 23:06:16 +0000
commitbdd7c1b088f24e54cf0be83324dd6ffe677af079 (patch)
tree0631e8918db4efa8810f63a8448ff5df491dd91b /meta
parent52b02df67e93722e29a2b3e9a90cd49c38952024 (diff)
downloadopenembedded-core-contrib-bdd7c1b088f24e54cf0be83324dd6ffe677af079.tar.gz
libpam: define limits.conf as CONFFILES of package libpam-runtime
Based as security reason, the system must limit users to simultaneous system logins, or a site-defined number. To avoid overwriting the /etc/security/limits.conf file after upgrading this rpm package, we will define the file as CONFFILES of package libpam-runtime. Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/pam/libpam_1.2.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.2.1.bb b/meta/recipes-extended/pam/libpam_1.2.1.bb
index 3e69f117fe..341ea24111 100644
--- a/meta/recipes-extended/pam/libpam_1.2.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.2.1.bb
@@ -168,3 +168,4 @@ CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-auth"
CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-password"
CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-session-noninteractive"
CONFFILES_${PN}-runtime += "${sysconfdir}/pam.d/common-account"
+CONFFILES_${PN}-runtime += "${sysconfdir}/security/limits.conf"