diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-11-01 14:03:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-02 08:58:02 +0000 |
commit | 013198b7257307818d9ca55df607e587dc067337 (patch) | |
tree | ef021bcd7290041d120dc2770dfce205a90b8d56 /meta | |
parent | 1e9c1d570e18de5548f6450a88e3a4e79d1f9978 (diff) | |
download | ast2050-yocto-poky-013198b7257307818d9ca55df607e587dc067337.zip ast2050-yocto-poky-013198b7257307818d9ca55df607e587dc067337.tar.gz |
dbus: ensure that the useradd shell is set to /bin/false
(From OE-Core rev: 899efe6bf17a31d842ff2f65704d4858892496d4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 5028310..caa781c 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" |