Red Hat Bugzilla – Bug 1247590
subscription-manager: remove dependency on usermode
Last modified: 2016-12-26 21:52:33 EST
It would be nice to have subscription-manager packages which do not depend on usermode in any way. This would reduce the size of minimal installs, and would also get rid of some SUID binaries. subscription-manager does not need usermode to work properly when invoked as root.
Perhaps this can be achieved by having a subscription-manager-minimal subpackage without the dependency, or some code which uses usermode only if it is available and the process is not already running as root.
We have a long term goal of not requiring root privileges for subscription management. Running as a non-root user would be in direct conflict with this request.
(In reply to Barnaby Court from comment #1)
> We have a long term goal of not requiring root privileges for subscription
> management. Running as a non-root user would be in direct conflict with this
Would you please clarify? When run as non-root, subscription-manager prompts me for the root password, so I still need access to the root account in order to use it.
Running as non-root is a goal but is not an active bug in the current working of subscription-manager. There are aspects what subscription-manager does that require root permissions to do. If at some point we have a means to get around this requirement we will do so.