Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 16:20:12 -0500
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>,  FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   best way to add www to wheel
Message-ID:  <CAGBxaX=ks3kAfDT6rvzgJcDj8Bs7DPvSRcjJWMoa%2BF9U1qx7tw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have the following line in my pkg-install:

pw groupmod wheel -m www

The reason is I have files that are created by a user account that also
gets made but are modified using it or tomcat... these particular files are
shell scripts that must run as root (they are for controlling bhyve and
other hyperv's as well as other rootly things like setting up and tarring
down nic's).... keep in mind also since almost all user level commands
(including those that trigger rootly actions) are run via the web and that
the data (except actual web content) should not be owned by www

My gut says that the above while it works is almost certainly not the right
way to do it.
-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaX=ks3kAfDT6rvzgJcDj8Bs7DPvSRcjJWMoa%2BF9U1qx7tw>