On Thu, Mar 12, 2015 at 1:29 PM, Damjan Georgievski <[email protected]> wrote:
> > In my scenario, the emperor is running as root, as expected, but the > vassal > > processes end up running as another user on our test server, not > www-data. > > However, if remove the "emperor-tyrant = true" from the emperor > > configuration, the vassals do run as using the www-data user, as > specified > > in the vassal configuration. > > > > Read the docs again what the tyrant mode is. > > > http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html#tyrant-mode-secure-multi-user-hosting > » In Tyrant mode the Emperor will run the vassal with the UID/GID of > its configuration file « > Yes, I saw that. But, maybe I'm missing something obvious, but nowhere in either of the configuration files am I specifying the "deploy" user, which is the user the vassals are running as. (Sorry, I guess I didn't indicate that the vassals were running as "deploy" in my original post.) (Incidentally, I found that statement in the docs a bit confusing...does that statement mean it's going to use the UID/GID of the emperor or the vassal configuration file? The use of the phrase "...its configuration file." isn't particularly clear.) Regardless, the emperor is running as root, the vassals are running as the user "deploy", but I've specified they should run as the www-data user.
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
