best way to add www to wheel

Lars Engels lars.engels at 0x20.net
Thu Jan 30 10:40:39 UTC 2014


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: PETITECLOUD
> EOF
> 
> note this will be 0.2.4 which I am planning some other changes for
> also like making the petitecloud account and /usr/local/etc/rc.d
> optoinal and will need to ask (on the right list this time ;-)) how to
> do that best
> 
> 

I'd rather create the file as files/petitecloud.in and manually install 
it
with the post-install: target.




More information about the freebsd-virtualization mailing list