diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2018-04-13 02:06:36 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-07-24 18:19:10 +0300 |
commit | a3488607a4a50a0b12efff58d702ae2f10c9320c (patch) | |
tree | 33d8ea85d1d49439d514b780098d264d846bc97a /meta-phosphor | |
parent | 7d5e3e9772c885df695c7cf96481775c55653d22 (diff) | |
download | openbmc-a3488607a4a50a0b12efff58d702ae2f10c9320c.tar.xz |
Add privilege related groups
Add privilege groups as needed by
user management.
Change-Id: I5e7204f8e334ef19d4999147f9e269061561f587
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/users/phosphor-user-manager.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/users/phosphor-user-manager.bb b/meta-phosphor/common/recipes-phosphor/users/phosphor-user-manager.bb index d5f039f43..d18535c15 100644 --- a/meta-phosphor/common/recipes-phosphor/users/phosphor-user-manager.bb +++ b/meta-phosphor/common/recipes-phosphor/users/phosphor-user-manager.bb @@ -15,6 +15,11 @@ DEPENDS += "phosphor-dbus-interfaces" RDEPENDS_${PN} += "libsystemd" RDEPENDS_${PN} += "phosphor-logging" +inherit useradd + +USERADD_PACKAGES = "${PN}" +# add groups needed for privilege maintenance +GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user; priv-callback " DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" |