So something like this in pkg-install?
cat - EOF /usr/local/etc/sudoers.d/petitecloud
Cmnd_Alias PETITECLOUD = /usr/sbin/service petitecloud stop,
/usr/sbin/service petitecloud start, /usr/sbin/service petitecloud restart
www ALL=(ALL) NOPASSWD: PETITECLOUD
EOF
note this will be 0.2.4 which I
Am 2014-01-30 11:21, schrieb Aryeh Friedman:
So something like this in pkg-install?
cat - EOF /usr/local/etc/sudoers.d/petitecloud
Cmnd_Alias PETITECLOUD = /usr/sbin/service petitecloud stop,
/usr/sbin/service petitecloud start, /usr/sbin/service petitecloud
restart
www ALL=(ALL) NOPASSWD:
It was my understanding with staging that doing stuff like that was
officially discouraged
On Thu, Jan 30, 2014 at 5:40 AM, Lars Engels lars.eng...@0x20.net wrote:
Am 2014-01-30 11:21, schrieb Aryeh Friedman:
So something like this in pkg-install?
cat - EOF
Speaking of stuff being officially discouraged I want to move most of whats
in pkg-install back to where it should belong (pkg-plist) but don't know
enough plist syntax to do it
On Thu, Jan 30, 2014 at 6:04 AM, Aryeh Friedman aryeh.fried...@gmail.comwrote:
It was my understanding with staging
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
Wrong mailing list?
Michael
On 1/29/14 1:20 PM, Aryeh Friedman wrote:
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
Cross post on purpose because people on -virtualization@ are likely more
familur with bhyve and it's requirements as well knowing what petitecloud
is and what it needs to do (the whole issue is without adding www to wheel
start/stop do not work from the webui)
On Wed, Jan 29, 2014 at 4:23 PM,
Only issue with that is when I asked a few months ago how to -ports@ how to
make the port edit sudoers the idea was universally shot down (then it was
to add it to do it for the default %WHEEL NOPASSWD entry and it was before
petitecloud was password protected [it is this criticism that lead to
Forgot to mention there are more then just those commands but the idea is
still valid (about 6 commands currently need to be setuid but the list may
grow)
On Wed, Jan 29, 2014 at 5:05 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote:
Only issue with that is when I asked a few months ago how to