[Setup] Installation guide update - non-root recommendation
steve at dcn.org
Wed Feb 6 02:12:08 UTC 2013
On Tue, Feb 5, 2013 at 2:36 PM, Mikko Ohtamaa <mikko+plone at redinnovation.com
> Questions I have immediately in my mind include:
> Does 4.3 installer mean Ineed two UNIX user accounts (one for buildouting,
> one for launching the daemon)
By default yes. It also sets up a group that contains both users.
> How one is suppose to update src/ files on run buildout? As a sudo and
With a command like:
sudo -u plone_buildout bin/buildout
The buildout also has a component that precompiles .py and .po files so
that the daemon user doesn't have to do this. The common group is used so
that the daemon and buildout users can both write to ./var.
> Do you still need to launch the site as a root and you cannot do
> bin/instance restart as a normal user?
It would typically be:
sudo -u plone_daemon bin/instance ...
or by having supervisor set up to run it as plone_daemon.
The security gain from all this extra work is to prevent the daemon user
processes from being able writing into anything other than var. In
particular, prevent them from writing into code and configuration
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Setup