summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-11-01 14:03:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-02 08:21:01 +0000
commit899efe6bf17a31d842ff2f65704d4858892496d4 (patch)
tree1750183ca645372ca19c04a60be2e756761b387a /meta
parent8139ac9284031e00d6b268210b04b57670d9268a (diff)
downloadopenembedded-core-899efe6bf17a31d842ff2f65704d4858892496d4.tar.gz
openembedded-core-899efe6bf17a31d842ff2f65704d4858892496d4.tar.bz2
openembedded-core-899efe6bf17a31d842ff2f65704d4858892496d4.zip
dbus: ensure that the useradd shell is set to /bin/false
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/dbus/dbus.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 502831044c..caa781c2fa 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -22,7 +22,8 @@ INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ."
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "-r netdev"
USERADD_PARAM_${PN} = "--system --home ${localstatedir}/lib/dbus \
- --no-create-home --user-group messagebus"
+ --no-create-home --shell /bin/false \
+ --user-group messagebus"
CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf"