Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 11:40:37 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: best way to add www to wheel
Message-ID:  <9d330b03767e0ab8c663a9f246835dd9@mail.0x20.net>
In-Reply-To: <CAGBxaX=gLsFjdGG6v2K5_SN%2BGE%2BsXf1uttdd=SVPjTB3nCVKjw@mail.gmail.com>
References:  <CAGBxaX=ks3kAfDT6rvzgJcDj8Bs7DPvSRcjJWMoa%2BF9U1qx7tw@mail.gmail.com> <52E9713F.9040508@callfortesting.org> <CAGBxaX=-bh22QfT5ww-Z%2BQ7rkisjiG60H%2BBu64Oh50uQ1DqNTQ@mail.gmail.com> <52E9757F.4050506@wasikowski.net> <CAGBxaXnhh4uTbEUYFwCDdsoqdBBHc%2B6w8-dC9Emfbk_D%2BwHJHw@mail.gmail.com> <0ae90c9099c35152f576cc7bbd94dc80@mail.0x20.net> <CAGBxaX=gLsFjdGG6v2K5_SN%2BGE%2BsXf1uttdd=SVPjTB3nCVKjw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d330b03767e0ab8c663a9f246835dd9>