From: Patrick Toomey Date: Wed, 19 Aug 2015 17:19:11 +0000 (-0600) Subject: Update docs to reflect lxc.init_uid and lxc.init_gid options X-Git-Tag: lxc-2.0.0.beta1~164^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62d0053955d433f7823d6cd7ea5cd30a74f6fd20;p=thirdparty%2Flxc.git Update docs to reflect lxc.init_uid and lxc.init_gid options Signed-off-by: Patrick Toomey --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 845621706..99bf8f497 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -664,8 +664,9 @@ static int do_start(void *data) /* * if we are in a new user namespace, become root there to have - * privilege over our namespace. We don't become root for lxc-execute, as - * the intent is to execute a command as the original user. + * privilege over our namespace. When using lxc-execute we default to root, + * but this can be overriden using the lxc.init_uid and lxc.init_gid + * configuration options. */ if (!lxc_list_empty(&handler->conf->id_map)) { gid_t new_gid = 0;