diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2019-11-02 18:46:40 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-11-18 15:28:16 +0300 |
commit | a2a2087c7df085e9c582a531f05fe0befd3281db (patch) | |
tree | cd04784466cde04fa856e281ef3cb4b02bff901f /meta-phosphor/recipes-phosphor/users | |
parent | 8aa4c6cfb84de6330e5e6955413f74c174a19cf8 (diff) | |
download | openbmc-a2a2087c7df085e9c582a531f05fe0befd3281db.tar.xz |
Use debug-tweaks, allow-root-login to allow root.
root user account is enabled with proper privilege and group,
only if debug-tweaks or allow-root-login FEATURES is defined.
Note: This will not remove root user getting managed from
phosphor-user-manager, instead it will make sure, the privilege
and groups are empty for the root user.
Tested:
1. Verified the default build, which has debug-tweaks, allowing
root user to be with priv-admin, and enabled for all groups.
2. Verified by removing debug-tweaks from the local.conf, and
root user privilege & groups are empty.
(From meta-phosphor rev: b1b8251f4e5f19189057cdeb998cf119be1c27b8)
Change-Id: Iec2a0b1a9f84c27dd4947125903ce43f3a9c3c2c
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/users')
-rw-r--r-- | meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb index dee81eb1b..4ccf0c3a4 100644 --- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb +++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb @@ -26,9 +26,6 @@ DBUS_PACKAGES = "${USERADD_PACKAGES}" GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user; priv-callback " GROUPADD_PARAM_phosphor-ldap = "priv-admin; priv-operator; priv-user; priv-callback " -# Add root user to priv-admin group -GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root" - DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" FILES_phosphor-ldap += " \ ${bindir}/phosphor-ldap-conf \ |