GitHub user lkiesow opened a pull request:
https://github.com/apache/karaf/pull/270
KARAF-4853, Option to prevent execution as root
Usually, it is not a good idea to run Karaf as root. In some cases, it
might even be harmful. This patch introduces the option `KARAF_NOROOT`
which, if set, will prevent Karaf from being executed as root.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lkiesow/karaf karaf-4853-noroot-option
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/270.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #270
commit 905f5089d0386e1fadb36f678a58cbc9fce2ec21
Author: Lars Kiesow
Date: 2016-11-26T00:06:39Z
KARAF-4853, Option to prevent execution as root
Usually, it is not a good idea to run Karaf as root. In some cases, it
might even be harmful. This patch introduces the option `KARAF_NOROOT`
which, if set, will prevent Karaf from being executed as root.
Signed-off-by: Lars Kiesow
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---